[chronojump] Fixes warnings: deletes "The private field 'blah' is never used" warnings.



commit 0c8352b57007b201b2975f0b5711a8aea9970422
Author: Carles Pina i Estany <carles pina cat>
Date:   Tue Oct 11 23:58:16 2016 +0200

    Fixes warnings: deletes "The private field 'blah' is never used" warnings.
    
    Total number of warnings: 97 (4 commits ago was around 250)

 src/gui/chronopic.cs               |    3 ---
 src/gui/error.cs                   |    1 -
 src/gui/evaluator.cs               |    6 +-----
 src/gui/eventExecute.cs            |    1 -
 src/gui/multiChronopic.cs          |    2 --
 src/gui/old/chronojumpServerOld.cs |    1 -
 src/gui/pulse.cs                   |    4 ----
 src/gui/reactionTime.cs            |    4 ----
 8 files changed, 1 insertions(+), 21 deletions(-)
---
diff --git a/src/gui/chronopic.cs b/src/gui/chronopic.cs
index a4f96b5..e8efeb5 100644
--- a/src/gui/chronopic.cs
+++ b/src/gui/chronopic.cs
@@ -95,7 +95,6 @@ public class ChronopicWindow
        [Widget] Gtk.ProgressBar progressbar;
        [Widget] Gtk.Button button_cancel;
        
-       [Widget] Gtk.Image chronopic_image;
        [Widget] Gtk.TextView textview_ports_found_explanation;
 
        //Automatic firmware stuff
@@ -152,8 +151,6 @@ public class ChronopicWindow
        Chronopic cp4;
        Chronopic.Plataforma platformState4;
 
-       States loggedState;             //log of last state
-       
        public enum ChronojumpMode { JUMPORRUN, ENCODER, OTHER };
                
        private ChronopicInit chronopicInit;
diff --git a/src/gui/error.cs b/src/gui/error.cs
index 53cdb39..c94b6dd 100644
--- a/src/gui/error.cs
+++ b/src/gui/error.cs
@@ -45,7 +45,6 @@ public class ErrorWindow
        [Widget] Gtk.Label label_send_log_message;
        
 
-       string table;
        static ErrorWindow ErrorWindowBox;
        string progVersion = "";
        
diff --git a/src/gui/evaluator.cs b/src/gui/evaluator.cs
index 62e6da8..5d9b82d 100644
--- a/src/gui/evaluator.cs
+++ b/src/gui/evaluator.cs
@@ -75,16 +75,12 @@ public class EvaluatorWindow
 
 
        [Widget] Gtk.Button button_accept;
-       [Widget] Gtk.Button button_cancel;
        
        string [] continents;
        string [] continentsTranslated;
        string [] countries;
        string [] countriesTranslated;
-       string [] chronometers;
-       string [] devices;
-       string [] devicesTranslated;
-       
+
        DialogCalendar myDialogCalendar;
        DateTime dateTime;
 
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 581186a..1a0f8c9 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -113,7 +113,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Notebook notebook_results_data;
        
        [Widget] Gtk.DrawingArea event_execute_drawingarea;
-       [Widget] Box event_execute_hbox_drawingarea;
        /*
        [Widget] Gtk.Box hbox_combo_graph_results_width;
        [Widget] Gtk.Box hbox_combo_graph_results_height;
diff --git a/src/gui/multiChronopic.cs b/src/gui/multiChronopic.cs
index 6690ea1..1d60fd8 100644
--- a/src/gui/multiChronopic.cs
+++ b/src/gui/multiChronopic.cs
@@ -33,8 +33,6 @@ public partial class ChronoJumpWindow
 {
        [Widget] Gtk.RadioButton extra_window_radio_multichronopic_start;
        [Widget] Gtk.RadioButton extra_window_radio_multichronopic_run_analysis;
-       [Widget] Gtk.Label label_extra_window_radio_multichronopic_start;
-       [Widget] Gtk.Label label_extra_window_radio_multichronopic_run_analysis;
 
        [Widget] Gtk.Label extra_window_label_multichronopic_need_two;
        [Widget] Gtk.Button button_run_analysis_help;
diff --git a/src/gui/old/chronojumpServerOld.cs b/src/gui/old/chronojumpServerOld.cs
index 3264ca7..4d876b0 100644
--- a/src/gui/old/chronojumpServerOld.cs
+++ b/src/gui/old/chronojumpServerOld.cs
@@ -42,7 +42,6 @@ public partial class ChronoJumpWindow
         * SERVER CALLBACKS
         */
 
-       bool serverEvaluatorDoing;
        // upload session and it's persons (callback)
        private void on_server_upload_session_pre (object o, EventArgs args) {
                /*
diff --git a/src/gui/pulse.cs b/src/gui/pulse.cs
index 528d169..4446d07 100644
--- a/src/gui/pulse.cs
+++ b/src/gui/pulse.cs
@@ -124,9 +124,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.RadioButton extra_window_radio_pulses_custom;
        [Widget] Gtk.RadioButton extra_window_radio_pulses_free;
        
-       [Widget] Gtk.Label label_extra_window_radio_pulses_custom;
-       [Widget] Gtk.Label label_extra_window_radio_pulses_free;
-       
        [Widget] Gtk.HBox hbox_extra_window_pulses;
        [Widget] Gtk.SpinButton extra_window_pulses_spinbutton_pulse_step;
        [Widget] Gtk.SpinButton extra_window_pulses_spinbutton_ppm;
@@ -136,7 +133,6 @@ public partial class ChronoJumpWindow
        
 
        double extra_window_pulseStep = 1.000;
-       bool extra_window_unlimited = true;
        int extra_window_totalPulses = 10;
        
        private void on_extra_window_pulses_test_changed(object o, EventArgs args)
diff --git a/src/gui/reactionTime.cs b/src/gui/reactionTime.cs
index 2dbd7b5..aac6e7e 100644
--- a/src/gui/reactionTime.cs
+++ b/src/gui/reactionTime.cs
@@ -37,13 +37,9 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Label label_flicker_lights_cycle;
        [Widget] Gtk.Label label_flicker_lights_frequency;
 
-       [Widget] Gtk.Label label_extra_window_radio_reaction_time;
        [Widget] Gtk.RadioButton extra_window_radio_reaction_time;
-       [Widget] Gtk.Label label_extra_window_radio_reaction_time_animation_lights;
        [Widget] Gtk.RadioButton extra_window_radio_reaction_time_animation_lights;
-       [Widget] Gtk.Label label_extra_window_radio_reaction_time_flicker;
        [Widget] Gtk.RadioButton extra_window_radio_reaction_time_flicker;
-       [Widget] Gtk.Label label_extra_window_radio_reaction_time_discriminative;
        [Widget] Gtk.RadioButton extra_window_radio_reaction_time_discriminative;
 
        


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