[chronojump] Fixes warnings: deletes "The private field 'blah' is never used" warnings.
- From: Carles Pina i Estany <carlespina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixes warnings: deletes "The private field 'blah' is never used" warnings.
- Date: Tue, 11 Oct 2016 22:08:19 +0000 (UTC)
commit 5077835024d50827ace786bcc95e49e780ec40c2
Author: Carles Pina i Estany <carles pina cat>
Date: Tue Oct 11 23:52:57 2016 +0200
Fixes warnings: deletes "The private field 'blah' is never used" warnings.
src/execute/jump.cs | 2 --
src/execute/reactionTime.cs | 2 --
src/gui/chronojump.cs | 30 +-----------------------------
src/gui/chronopicRegister.cs | 1 -
src/gui/encoder.cs | 3 ---
src/gui/encoderConfiguration.cs | 3 ---
src/gui/eventGraphConfigure.cs | 4 ----
src/gui/guiTests.cs | 1 -
src/gui/helpPorts.cs | 3 ---
src/gui/jump.cs | 4 ----
src/gui/person.cs | 6 ------
src/gui/repetitiveConditions.cs | 1 -
src/gui/session.cs | 3 ---
src/gui/stats.cs | 3 ---
src/run.cs | 1 -
15 files changed, 1 insertions(+), 66 deletions(-)
---
diff --git a/src/execute/jump.cs b/src/execute/jump.cs
index a60b213..1668124 100644
--- a/src/execute/jump.cs
+++ b/src/execute/jump.cs
@@ -519,8 +519,6 @@ public class JumpRjExecute : JumpExecute
{
string tvString;
string tcString;
- 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)
double limitAsDouble; //-1 for non limited (unlimited repetitive jump until "finish" is clicked)
bool jumpsLimited;
diff --git a/src/execute/reactionTime.cs b/src/execute/reactionTime.cs
index eced1e7..d4e0712 100644
--- a/src/execute/reactionTime.cs
+++ b/src/execute/reactionTime.cs
@@ -34,8 +34,6 @@ public class ReactionTimeExecute : EventExecute
//protected Chronopic cp;
private Chronopic cp;
- private ReactionTime reactionTimeDone;
-
public ReactionTimeExecute() {
}
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index b7544b8..daf1f84 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -64,7 +64,6 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Notebook notebook_start; //use to display the start images to select different modes
[Widget] Gtk.Notebook notebook_sup;
[Widget] Gtk.HBox hbox_other;
- [Widget] Gtk.Notebook notebook_capture_graph_table;
[Widget] Gtk.Notebook notebook_capture_analyze; //not encoder
@@ -180,7 +179,6 @@ public partial class ChronoJumpWindow
[Widget] Gtk.MenuItem menuitem_edit_session;
[Widget] Gtk.MenuItem menuitem_delete_session;
[Widget] Gtk.MenuItem menuitem_export_csv;
- [Widget] Gtk.MenuItem menuitem_export_xml;
[Widget] Gtk.MenuItem menuitem_encoder_session_overview;
[Widget] Gtk.Image image_session_open;
@@ -191,7 +189,6 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Button button_show_all_person_events;
[Widget] Gtk.Button button_delete_current_person;
[Widget] Gtk.Label label_current_person;
- [Widget] Gtk.Label label_current_person_title;
//tests
//jumps
@@ -219,8 +216,6 @@ public partial class ChronoJumpWindow
//runs
- [Widget] Gtk.MenuItem menu_execute_simple_runs1;
- [Widget] Gtk.MenuItem menu_execute_intervallic_runs1;
[Widget] Gtk.Button button_edit_selected_run;
[Widget] Gtk.Button button_video_play_selected_run;
[Widget] Gtk.Button button_delete_selected_run;
@@ -331,7 +326,6 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_multi_chronopic_zoom;
//encoder
- [Widget] Gtk.Image image_encoder_capture_zoom;
//[Widget] Gtk.Image image_encoder_analyze_zoom;
[Widget] Gtk.Image image_encoder_analyze_stats;
[Widget] Gtk.Image image_encoder_analyze_image_save;
@@ -346,28 +340,19 @@ public partial class ChronoJumpWindow
//persons
private TreeStore treeview_persons_store;
private TreeViewPersons myTreeViewPersons;
- private Gtk.Button fakeButtonPersonUp;
- private Gtk.Button fakeButtonPersonDown;
//normal jumps
- private TreeStore treeview_jumps_store;
private TreeViewJumps myTreeViewJumps;
//rj jumps
- private TreeStore treeview_jumps_rj_store;
private TreeViewJumpsRj myTreeViewJumpsRj;
//normal runs
- private TreeStore treeview_runs_store;
private TreeViewRuns myTreeViewRuns;
//runs interval
- private TreeStore treeview_runs_interval_store;
private TreeViewRunsInterval myTreeViewRunsInterval;
//reaction times
- private TreeStore treeview_reaction_times_store;
private TreeViewReactionTimes myTreeViewReactionTimes;
//pulses
- private TreeStore treeview_pulses_store;
private TreeViewPulses myTreeViewPulses;
//multiChronopic
- private TreeStore treeview_multi_chronopic_store;
private TreeViewMultiChronopic myTreeViewMultiChronopic;
private Preferences preferences;
@@ -438,8 +423,6 @@ public partial class ChronoJumpWindow
RepetitiveConditionsWindow repetitiveConditionsWin;
GenericWindow genericWin;
- EvaluatorWindow evalWin;
- PersonNotUploadWindow personNotUploadWin;
ExecuteAutoWindow executeAutoWin;
//ChronopicWindow chronopicWin;
@@ -460,12 +443,7 @@ public partial class ChronoJumpWindow
private chronopicTypes lastChronopicType;
*/
- private bool firstRjValue;
- private double rjTcCount;
- private double rjTvCount;
- private string rjTcString;
- private string rjTvString;
-
+
private bool createdStatsWin;
private string progVersion;
@@ -473,13 +451,8 @@ public partial class ChronoJumpWindow
private string runningFileName; //useful for knowing if there are two chronojump instances
- private bool normalGUI; //false means small gui
-
- private bool debugMode; //currently only for encoder R
-
//int chronopicCancelledTimes = 0;
-
//only called the first time the software runs
//and only on windows
private void on_language_clicked(object o, EventArgs args) {
@@ -5054,7 +5027,6 @@ public partial class ChronoJumpWindow
*/
}
- bool multiFinishing;
private void on_multi_chronopic_finished (object o, EventArgs args)
{
/*
diff --git a/src/gui/chronopicRegister.cs b/src/gui/chronopicRegister.cs
index d75f0c1..15257e4 100644
--- a/src/gui/chronopicRegister.cs
+++ b/src/gui/chronopicRegister.cs
@@ -62,7 +62,6 @@ public class ChronopicRegisterWindow
{
Gtk.Window chronopic_register_win;
Gtk.VBox vbox_main;
- Gtk.Table table;
public ChronopicRegisterWindow(List<ChronopicRegisterPort> list)
{
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index df7a187..c346f48 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -54,7 +54,6 @@ public partial class ChronoJumpWindow
//at graph.R is converted to Kg*m^2 ( /10000 )
//[Widget] Gtk.SpinButton spin_encoder_capture_inertial;
- [Widget] Gtk.Box hbox_encoder_sup_capture_analyze;
[Widget] Gtk.Box hbox_encoder_sup_capture_analyze_two_buttons;
[Widget] Gtk.Box hbox_encoder_configuration;
[Widget] Gtk.Box hbox_encoder_capture_options;
@@ -76,13 +75,11 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Button button_encoder_load_signal_on_analyze;
[Widget] Gtk.Viewport viewport_image_encoder_capture;
[Widget] Gtk.Image image_encoder_capture;
- [Widget] Gtk.Image image_encoder_capture_open;
[Widget] Gtk.ProgressBar encoder_pulsebar_capture;
[Widget] Gtk.Box vbox_encoder_signal_comment;
[Widget] Gtk.TextView textview_encoder_signal_comment;
[Widget] Gtk.Button button_encoder_signal_save_comment;
[Widget] Gtk.MenuItem menuitem_export_encoder_signal;
- [Widget] Gtk.Label label_encoder_curve_action;
[Widget] Gtk.Button button_encoder_delete_signal;
[Widget] Gtk.VPaned vpaned_encoder_main;
diff --git a/src/gui/encoderConfiguration.cs b/src/gui/encoderConfiguration.cs
index 65578c6..569d271 100644
--- a/src/gui/encoderConfiguration.cs
+++ b/src/gui/encoderConfiguration.cs
@@ -97,13 +97,10 @@ public class EncoderConfigurationWindow
[Widget] Gtk.SpinButton spin_im_length_calcule;
//[Widget] Gtk.SpinButton spin_im_duration_calcule;
[Widget] Gtk.Label label_im_result_disc;
- [Widget] Gtk.Label label_im_result_weights;
- [Widget] Gtk.Label label_im_result_total;
[Widget] Gtk.Label label_im_feedback;
[Widget] Gtk.Button button_encoder_capture_inertial_do;
[Widget] Gtk.Button button_encoder_capture_inertial_cancel;
//[Widget] Gtk.Button button_encoder_capture_inertial_finish;
- [Widget] Gtk.Label label_button_encoder_capture_inertial_do;
[Widget] Gtk.Button button_accept;
diff --git a/src/gui/eventGraphConfigure.cs b/src/gui/eventGraphConfigure.cs
index d939bc0..8a3e4a0 100644
--- a/src/gui/eventGraphConfigure.cs
+++ b/src/gui/eventGraphConfigure.cs
@@ -36,8 +36,6 @@ public class EventGraphConfigureWindow
{
[Widget] Gtk.Window event_graph_configure;
- [Widget] Gtk.Button button_close;
-
[Widget] Gtk.CheckButton checkbutton_max_auto;
[Widget] Gtk.CheckButton checkbutton_min_auto;
[Widget] Gtk.CheckButton checkbutton_show_black_guide;
@@ -49,8 +47,6 @@ public class EventGraphConfigureWindow
[Widget] Gtk.SpinButton spinbutton_green_guide;
[Widget] Gtk.CheckButton checkbutton_show_vertical_grid;
- [Widget] Gtk.RadioButton radiobutton_speed;
-
static EventGraphConfigureWindow EventGraphConfigureWindowBox;
diff --git a/src/gui/guiTests.cs b/src/gui/guiTests.cs
index c064b31..99ef9ee 100644
--- a/src/gui/guiTests.cs
+++ b/src/gui/guiTests.cs
@@ -404,7 +404,6 @@ public partial class ChronoJumpWindow
//LogB.Information(" [i=" + i.ToString() + "] ");
- Constants.EncoderAutoSaveCurve easc;
if(i == 1)
button_encoder_capture_curves_all.Click();
else if(i == 2)
diff --git a/src/gui/helpPorts.cs b/src/gui/helpPorts.cs
index 3ea5712..1569c7e 100644
--- a/src/gui/helpPorts.cs
+++ b/src/gui/helpPorts.cs
@@ -28,10 +28,7 @@ using Mono.Unix;
public class HelpPorts
{
[Widget] Gtk.Dialog dialog_help_ports;
- [Widget] Gtk.TextView textview_info;
- [Widget] Gtk.TextView textview_detected;
[Widget] Gtk.Label label_info;
- [Widget] Gtk.Label label_detection;
[Widget] Gtk.Label label_detected;
[Widget] Gtk.Label label_help_info;
[Widget] Gtk.Label label_help_manual;
diff --git a/src/gui/jump.cs b/src/gui/jump.cs
index b89a922..e11a1bf 100644
--- a/src/gui/jump.cs
+++ b/src/gui/jump.cs
@@ -981,7 +981,6 @@ partial class ChronoJumpWindow
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_kg;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_weight;
[Widget] Gtk.Label extra_window_jumps_label_weight;
- [Widget] Gtk.Label extra_window_jumps_label_cm;
[Widget] Gtk.CheckButton extra_window_jumps_check_dj_arms;
//slCMJ
@@ -989,13 +988,10 @@ partial class ChronoJumpWindow
[Widget] Gtk.Notebook notebook_options_after_execute;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_mode_vertical;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_mode_horizontal;
- [Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_mode_lateral;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_dominance_this_limb;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_dominance_opposite;
- [Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_dominance_unknown;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_fall_this_limb;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_fall_opposite;
- [Widget] Gtk.RadioButton extra_window_jumps_radiobutton_single_leg_fall_both;
[Widget] Gtk.SpinButton extra_window_jumps_spin_single_leg_distance;
[Widget] Gtk.SpinButton extra_window_jumps_spin_single_leg_angle;
diff --git a/src/gui/person.cs b/src/gui/person.cs
index e546363..662b441 100644
--- a/src/gui/person.cs
+++ b/src/gui/person.cs
@@ -806,13 +806,10 @@ public class PersonAddModifyWindow
[Widget] Gtk.Label label_date;
//[Widget] Gtk.Button button_change_date;
- [Widget] Gtk.Button button_calendar;
[Widget] Gtk.Image image_calendar;
[Widget] Gtk.SpinButton spinbutton_height;
[Widget] Gtk.SpinButton spinbutton_weight;
- [Widget] Gtk.Button button_height_metric;
- [Widget] Gtk.Button button_weight_metric;
[Widget] Gtk.Box hbox_combo_sports;
[Widget] Gtk.ComboBox combo_sports;
@@ -1715,7 +1712,6 @@ public class PersonAddMultipleWindow {
[Widget] Gtk.Box hbox_csv;
[Widget] Gtk.Box hbox_manually;
[Widget] Gtk.SpinButton spin_manually;
- [Widget] Gtk.Button button_manually_created;
[Widget] Gtk.Image image_csv_headers;
[Widget] Gtk.Image image_csv_noheaders;
@@ -1734,8 +1730,6 @@ public class PersonAddMultipleWindow {
[Widget] Gtk.CheckButton check_headers;
[Widget] Gtk.CheckButton check_name_1_column;
- [Widget] Gtk.Button button_csv_load;
- [Widget] Gtk.Button button_csv_help;
[Widget] Gtk.Label label_csv_help;
diff --git a/src/gui/repetitiveConditions.cs b/src/gui/repetitiveConditions.cs
index dfc75ca..c06a86f 100644
--- a/src/gui/repetitiveConditions.cs
+++ b/src/gui/repetitiveConditions.cs
@@ -113,7 +113,6 @@ public class RepetitiveConditionsWindow
[Widget] Gtk.Button button_test_good;
- [Widget] Gtk.Button button_test_bad;
[Widget] Gtk.Button button_close;
//bells good (green)
diff --git a/src/gui/session.cs b/src/gui/session.cs
index b3063ff..9c2287c 100644
--- a/src/gui/session.cs
+++ b/src/gui/session.cs
@@ -34,7 +34,6 @@ public class SessionAddEditWindow {
[Widget] Gtk.Entry entry_place;
[Widget] Gtk.Label label_date;
- [Widget] Gtk.Button button_change_date;
[Widget] Gtk.TextView textview;
[Widget] Gtk.Button button_accept;
@@ -660,14 +659,12 @@ public class SessionLoadWindow {
[Widget] Gtk.CheckButton checkbutton_show_data_jump_run;
[Widget] Gtk.CheckButton checkbutton_show_data_encoder;
[Widget] Gtk.Entry file_path_import;
- [Widget] Gtk.Button select_file_import;
[Widget] Gtk.HBox session_import_box;
static SessionLoadWindow SessionLoadWindowBox;
Gtk.Window parent;
private Session currentSession;
- private SqliteSessionSwitcher sqliteSession;
private WindowType type;
SessionLoadWindow (Gtk.Window parent, WindowType type) {
diff --git a/src/gui/stats.cs b/src/gui/stats.cs
index 90e91cb..c7a8196 100644
--- a/src/gui/stats.cs
+++ b/src/gui/stats.cs
@@ -65,11 +65,8 @@ public partial class ChronoJumpWindow {
[Widget] Gtk.CheckButton checkbutton_show_enunciate;
[Widget] Gtk.Notebook notebook_stats_win_options;
- [Widget] Gtk.Box hbox_mark_consecutives;
[Widget] Gtk.CheckButton checkbutton_mark_consecutives;
[Widget] Gtk.SpinButton spinbutton_mark_consecutives;
- [Widget] Gtk.Label label_subtraction_between;
- [Widget] Gtk.Box hbox_subtraction_between;
[Widget] Gtk.Box hbox_subtraction_between_1;
[Widget] Gtk.Box hbox_subtraction_between_2;
[Widget] Gtk.ComboBox combo_subtraction_between_1;
diff --git a/src/run.cs b/src/run.cs
index fe9f603..1d0450c 100644
--- a/src/run.cs
+++ b/src/run.cs
@@ -135,7 +135,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)
- double limitAsDouble; //-1 for non limited (unlimited repetitive run until "finish" is clicked)
bool tracksLimited;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]