[chronojump/different_glades: 4/8] Fixes 2 more warnings.



commit 42eedb8606c9ce4915009050eb1780491562a547
Author: Carles Pina i Estany <carles pina cat>
Date:   Wed Oct 12 17:15:53 2016 +0200

    Fixes 2 more warnings.

 src/encoderCapture.cs |    1 -
 src/gui/chronojump.cs |    5 ++++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/encoderCapture.cs b/src/encoderCapture.cs
index feb6cc2..b47864d 100644
--- a/src/encoderCapture.cs
+++ b/src/encoderCapture.cs
@@ -453,7 +453,6 @@ public abstract class EncoderCapture
 
                string filename = Util.ReadFile(UtilAll.GetECapSimSignalFileName(), true);
                simulatedInts = Util.ReadFileAsInts(filename);
-               int simulatedCount = 0;
                return true;
        }
 
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index d9f964e..273b9a1 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -3088,9 +3088,11 @@ public partial class ChronoJumpWindow
                LogB.Information("change_multitest_firmware");
                LogB.Information("Disabled temporarily");
                //TODO: enable again. Active once first connection is done. Problem is cp is not initialized
+               // when removed uncomment code below as well!
                return;
 
                //---- 1 if don't need to change, return
+               /*
                if(previousMultitestFirmwareDefined && 
                                ! Constants.Menuitem_mode_multitest_should_change(previousMultitestFirmware, 
m)) 
                {
@@ -3098,11 +3100,12 @@ public partial class ChronoJumpWindow
                        return;
                }
 
+
                label_chronopics_multitest.Text = "";
 
                if(! canCaptureContacts())
                        return;
-
+               */
                /*
                //---- 2 if is not connected, return
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]