[chronojump] Deletes warnings avoiding non-defined variables.



commit 181ebb2e11610d396e568768a99258cfd3ffc078
Author: Carles Pina i Estany <carles pina cat>
Date:   Sun Oct 16 19:48:55 2016 +0200

    Deletes warnings avoiding non-defined variables.

 src/execute/jump.cs |    4 ++--
 src/execute/run.cs  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/execute/jump.cs b/src/execute/jump.cs
index 1668124..3fb707a 100644
--- a/src/execute/jump.cs
+++ b/src/execute/jump.cs
@@ -439,10 +439,10 @@ public class JumpExecute : EventExecute
        
        protected override void write()
        {
-               string tcString = "";
+               // string tcString = "";
                if(hasFall) {
                        //Log.WriteLine("TC: {0}", tc.ToString());
-                       tcString = " " + Catalog.GetString("TC") + ": " + Util.TrimDecimals( tc.ToString(), 
pDN ) ;
+                       // tcString = " " + Catalog.GetString("TC") + ": " + Util.TrimDecimals( 
tc.ToString(), pDN ) ;
                } else {
                        tc = 0;
                }
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 02bf466..0e5b54b 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -940,14 +940,14 @@ public class RunIntervalExecute : RunExecute
                        //define the created object
                        eventDone = new RunInterval(uniqueID, personID, sessionID, type, distanceTotal, 
timeTotal, distanceInterval, intervalTimesString, tracksHere, description, limitString, 
Util.BoolToNegativeInt(simulated), !startIn); 
 
-
+                       /*
                        string tempValuesString;
                        if(tracksLimited) 
                                tempValuesString = " (" + distanceIntervalFixed + "x" + tracksHere + "R), " + 
Catalog.GetString("Time") + ": " + Util.TrimDecimals( timeTotal.ToString(), pDN);
                        else
                                tempValuesString = " (" + distanceIntervalFixed + "x" + Util.TrimDecimals( 
timeTotal.ToString(), pDN) + "T), " + Catalog.GetString("Tracks") + ": " + tracksHere;
 
-                       /*
+
                        string myStringPush =   Catalog.GetString("Last run") + ": " + RunnerName + ", " + 
                                type + tempValuesString + ", " +
                                Catalog.GetString("AVG Speed") + ": " + Util.TrimDecimals( 


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