[chronojump] Clean warnings (0 warnings)



commit 7fd9bc494e7431ed1ae7feb98ea2441cfe379d6d
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Dec 20 16:52:28 2021 +0100

    Clean warnings (0 warnings)

 src/chronopic2016.cs | 2 +-
 src/jump.cs          | 9 +--------
 src/run.cs           | 8 +-------
 3 files changed, 3 insertions(+), 16 deletions(-)
---
diff --git a/src/chronopic2016.cs b/src/chronopic2016.cs
index fb7696572..7e2432a2d 100644
--- a/src/chronopic2016.cs
+++ b/src/chronopic2016.cs
@@ -39,7 +39,7 @@ public class Chronopic2016
        //used on contacts
        private Chronopic cp;
        private SerialPort sp;
-       private Chronopic.Plataforma platformState;
+       private Chronopic.Plataforma platformState = Chronopic.Plataforma.OFF;
 
        //multichronopic
        private Chronopic cp2;
diff --git a/src/jump.cs b/src/jump.cs
index 2e41b36a5..6e8cef236 100644
--- a/src/jump.cs
+++ b/src/jump.cs
@@ -160,7 +160,6 @@ public class JumpRj : Jump
        int jumps; //total number of jumps
        double time; //time elapsed
        string limited; //the teorically values, eleven jumps: "11=J" (time recorded in "time"), 10 seconds: 
"10=T" (jumps recorded in jumps)
-       bool jumpsLimited;
        private string angleString;
 
        bool calculatedStats;
@@ -481,12 +480,6 @@ public class JumpRj : Jump
                get { return time; }
                set { time = value; }
        }
-       
-       public bool JumpsLimited
-       {
-               get { return jumpsLimited; }
-       }
-               
-               
+
        ~JumpRj() {}
 }
diff --git a/src/run.cs b/src/run.cs
index bd6220217..81014ddcc 100644
--- a/src/run.cs
+++ b/src/run.cs
@@ -155,7 +155,6 @@ public class RunInterval : Run
        string intervalTimesString;
        double tracks; //double because if we limit by time (runType tracksLimited false), we do n.nn tracks
        string limited; //the teorically values, eleven runs: "11=R" (time recorded in "time"), 10 seconds: 
"10=T" (tracks recorded in tracks)
-       bool tracksLimited;
        
 
        public RunInterval() {
@@ -304,12 +303,7 @@ public class RunInterval : Run
                get { return limited; }
                set { limited = value; }
        }
-       
-       public bool TracksLimited
-       {
-               get { return tracksLimited; }
-       }
-               
+
        public bool StartIn
        {
                get { return startIn; }


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