[chronojump/different_glades: 3/8] Fixes warning: deletes a variable that was assigned and never used.



commit 071194ff31d926d7d582f31c283a45424ab90fd3
Author: Carles Pina i Estany <carles pina cat>
Date:   Wed Oct 12 17:02:16 2016 +0200

    Fixes warning: deletes a variable that was assigned and never used.

 src/chronojump.cs |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/chronojump.cs b/src/chronojump.cs
index ce85b74..7402b16 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -490,8 +490,7 @@ public class ChronoJump
        private void findVersion() {
                LogB.Debug("--1--");
                //pingStart = true;
-               splashShowButton = true;
-               
+
                LogB.Debug("--2--");
                //maybe other thread doesn't create at time the splash win
                //then just wait
@@ -516,7 +515,6 @@ public class ChronoJump
                versionAvailable = Server.Ping(true, progName, UtilAll.ReadVersion()); //doInsertion
                
                LogB.Debug("--4--");
-               splashShowButton = false;
                LogB.Information(" version:  ", versionAvailable);
                LogB.Debug("\n--5--");
                //pingEnd = true;
@@ -524,7 +522,6 @@ public class ChronoJump
        }
                
        private void on_find_version_cancelled(object o, EventArgs args) {
-               splashShowButton = false;
                versionAvailable = Constants.ServerOffline;
                //pingEnd = true;
        }
@@ -606,8 +603,6 @@ public class ChronoJump
        /* splash window things 
         * --------------------*/
 
-       private bool splashShowButton = false;
-
        private void splashMessageChange(int messageInt) {
               splashMessage = Catalog.GetString(Constants.SplashMessages[messageInt]);
                needUpdateSplashMessage = true;


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