[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:14 +0000 (UTC)
commit e8707032cf0ddabd560d13eefadc54a6701a572d
Author: Carles Pina i Estany <carles pina cat>
Date: Tue Oct 11 23:35:34 2016 +0200
Fixes warnings: deletes "The private field 'blah' is never used" warnings.
src/encoder.cs | 1 -
src/execute/multiChronopic.cs | 2 --
src/executeAuto.cs | 1 -
src/exportSession.cs | 2 --
src/gui/chronojump.cs | 33 ---------------------------------
src/gui/eventExecute.cs | 1 -
src/gui/session.cs | 2 --
src/jump.cs | 6 ------
src/pulse.cs | 2 --
src/statType.cs | 1 -
10 files changed, 0 insertions(+), 51 deletions(-)
---
diff --git a/src/encoder.cs b/src/encoder.cs
index 35a261d..a250df2 100644
--- a/src/encoder.cs
+++ b/src/encoder.cs
@@ -29,7 +29,6 @@ using Mono.Unix;
public class EncoderParams
{
private int time;
- private string mass; //to pass always as "." to R
//graph.R need both to know displacedMass depending on encoderConfiguration
//and plot both as entry data in the table of result data
diff --git a/src/execute/multiChronopic.cs b/src/execute/multiChronopic.cs
index 0f1f071..84351a7 100644
--- a/src/execute/multiChronopic.cs
+++ b/src/execute/multiChronopic.cs
@@ -68,8 +68,6 @@ public class MultiChronopicExecute : EventExecute
static bool firstValue;
- private MultiChronopic multiChronopicDone;
-
public MultiChronopicExecute() {
}
diff --git a/src/executeAuto.cs b/src/executeAuto.cs
index 2c36d94..f67372f 100644
--- a/src/executeAuto.cs
+++ b/src/executeAuto.cs
@@ -25,7 +25,6 @@ using Mono.Unix;
public class ExecuteAuto {
public enum ModeTypes { BY_PERSONS, BY_TESTS, BY_SETS }
- private ModeTypes mode;
public int serieID; //only in BY_SETS (in BY_PERSONS or BY_TESTS, value is -1)
public int personUniqueID;
diff --git a/src/exportSession.cs b/src/exportSession.cs
index 048e57f..fdb6b1f 100644
--- a/src/exportSession.cs
+++ b/src/exportSession.cs
@@ -980,8 +980,6 @@ public class ExportSessionCSV : ExportSession
public class ExportSessionXML : ExportSession
{
- private XmlTextWriter xr;
-
public ExportSessionXML(Session mySession, Gtk.Window app1, Preferences preferences)
{
this.mySession = mySession;
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 064dc93..b7544b8 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -253,20 +253,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Box vbox_execute_test;
[Widget] Gtk.Button button_execute_test;
[Widget] Gtk.Viewport viewport_chronopics;
- [Widget] Gtk.Box hbox_chronopics;
- [Widget] Gtk.Label label_chronopics;
- [Widget] Gtk.Label label_connected_chronopics;
[Widget] Gtk.Label label_chronopics_multitest;
- [Widget] Gtk.Image image_simulated_warning;
- [Widget] Gtk.Box hbox_chronopic_detecting;
- [Widget] Gtk.ProgressBar progressbar_chronopic_detecting;
- [Widget] Gtk.Button button_chronopic_detecting_cancel;
- [Widget] Gtk.Button button_chronopic_detecting_info;
- [Widget] Gtk.Box hbox_chronopic_encoder_detecting;
- [Widget] Gtk.ProgressBar progressbar_chronopic_encoder_detecting;
- [Widget] Gtk.Button button_chronopic_encoder_detecting_cancel;
- [Widget] Gtk.Button button_chronopic_encoder_detecting_info;
- [Widget] Gtk.Viewport viewport_chronopic_encoder;
//[Widget] Gtk.Label label_chronopic_encoder;
//[Widget] Gtk.Image image_chronopic_encoder_no;
//[Widget] Gtk.Image image_chronopic_encoder_yes;
@@ -292,32 +279,12 @@ public partial class ChronoJumpWindow
// [Widget] Gtk.Entry entry_multi_chronopic_cp2;
//widgets for enable or disable
- [Widget] Gtk.Button button_new;
- [Widget] Gtk.Button button_open;
[Widget] Gtk.Frame frame_persons;
[Widget] Gtk.Button button_recuperate_person;
[Widget] Gtk.Button button_recuperate_persons_from_session;
[Widget] Gtk.Button button_person_add_single;
[Widget] Gtk.Button button_person_add_multiple;
- [Widget] Gtk.Button button_run_custom;
- [Widget] Gtk.Button button_run_20m;
- [Widget] Gtk.Button button_run_100m;
- [Widget] Gtk.Button button_run_200m;
- [Widget] Gtk.Button button_run_400m;
- [Widget] Gtk.Button button_run_gesell;
- [Widget] Gtk.Button button_run_20yard;
- [Widget] Gtk.Button button_run_505;
- [Widget] Gtk.Button button_run_illinois;
- [Widget] Gtk.Button button_run_margaria;
- [Widget] Gtk.Button button_run_shuttle;
- [Widget] Gtk.Button button_run_zigzag;
- [Widget] Gtk.Button button_run_interval_by_laps;
- [Widget] Gtk.Button button_run_interval_by_time;
- [Widget] Gtk.Button button_run_interval_unlimited;
- [Widget] Gtk.Button button_run_interval_mtgug;
- [Widget] Gtk.Button button_reaction_time_execute;
-
[Widget] Gtk.Notebook notebook_execute;
[Widget] Gtk.Notebook notebook_results;
[Widget] Gtk.Notebook notebook_options_top;
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index d58d8c4..581186a 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -121,7 +121,6 @@ public partial class ChronoJumpWindow
[Widget] Gtk.ComboBox combo_graph_results_height;
*/
- [Widget] Gtk.Alignment event_execute_alignment;
//[Widget] Gtk.Alignment event_execute_alignment_drawingarea;
//static Gdk.Pixmap event_execute_pixmap = null;
Gdk.Pixmap event_execute_pixmap = null;
diff --git a/src/gui/session.cs b/src/gui/session.cs
index 2f0bdfe..b3063ff 100644
--- a/src/gui/session.cs
+++ b/src/gui/session.cs
@@ -65,10 +65,8 @@ public class SessionAddEditWindow {
Sport sport;
string [] sports;
string [] sportsTranslated;
- int speciallityID;
string [] speciallities;
string [] speciallitiesTranslated;
- String level;
string [] levels;
bool addSession;
diff --git a/src/jump.cs b/src/jump.cs
index 4611a2a..2c3c8b3 100644
--- a/src/jump.cs
+++ b/src/jump.cs
@@ -135,13 +135,7 @@ 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)
- double limitAsDouble; //-1 for non limited (unlimited repetitive jump until "finish" is clicked)
bool jumpsLimited;
- bool firstRjValue;
- private double tcCount;
- private double tvCount;
- private double lastTc;
- private double lastTv;
private string angleString;
public JumpRj() {
diff --git a/src/pulse.cs b/src/pulse.cs
index 059fe32..eb1716d 100644
--- a/src/pulse.cs
+++ b/src/pulse.cs
@@ -29,8 +29,6 @@ public class Pulse : Event
int totalPulsesNum;
string timesString;
- int tracks;
- double contactTime;
//used on treeviewPulse
public Pulse() {
diff --git a/src/statType.cs b/src/statType.cs
index 58b9624..9462af4 100644
--- a/src/statType.cs
+++ b/src/statType.cs
@@ -68,7 +68,6 @@ public class StatType {
int evolution_mark_consecutives;
ArrayList markedRows;
- ArrayList personsWithData;
bool graph;
bool toReport;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]