[chronojump] Clean warnings
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Clean warnings
- Date: Mon, 20 Dec 2021 09:47:18 +0000 (UTC)
commit 72f8c99ae4b63e935f131b0dcfe202706597045f
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 20 10:47:08 2021 +0100
Clean warnings
src/gui/cairo/jumpsRjFatigue.cs | 2 --
src/gui/eventExecute.cs | 26 +++++++++++++-------------
2 files changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/src/gui/cairo/jumpsRjFatigue.cs b/src/gui/cairo/jumpsRjFatigue.cs
index 27e6796c4..9a169002a 100644
--- a/src/gui/cairo/jumpsRjFatigue.cs
+++ b/src/gui/cairo/jumpsRjFatigue.cs
@@ -27,8 +27,6 @@ using Cairo;
public class JumpsRjFatigueGraph : CairoXY
{
- private JumpsRjFatigue.Statistic statistic;
-
private int divideIn;
//constructor when there are no points
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index 95a51ffa3..e7ca12ce3 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -670,7 +670,8 @@ public partial class ChronoJumpWindow
cairoPaintBarsPreRealTime = new CairoPaintBarsPreJumpReactiveRealtimeCapture(
event_execute_drawingarea_realtime_capture_cairo,
preferences.fontType.ToString(), current_mode,
currentPerson.Name, type, preferences.digitsNumber,//
preferences.heightPreferred,
- lastTv, lastTc, tvString, tcString);
+ //lastTv, lastTc,
+ tvString, tcString);
// B) Paint cairo graph
//cairoPaintBarsPreRealTime.UseHeights = useHeights;
@@ -795,8 +796,9 @@ public partial class ChronoJumpWindow
cairoPaintBarsPreRealTime = new CairoPaintBarsPreRunIntervalRealtimeCapture(
event_execute_drawingarea_realtime_capture_cairo,
preferences.fontType.ToString(), current_mode,
currentPerson.Name, type, preferences.digitsNumber,//
preferences.heightPreferred,
- check_runI_realtime_rel_abs.Active,
- distance, lastTime, timesString, distancesString);
+ check_runI_realtime_rel_abs.Active, distance,
+ //lastTime,
+ timesString, distancesString);
// B) Paint cairo graph
//cairoPaintBarsPreRealTime.UseHeights = useHeights;
@@ -2955,8 +2957,8 @@ public class CairoPaintBarsPreRunInterval : CairoPaintBarsPre
//realtime jump reactive capture
public class CairoPaintBarsPreJumpReactiveRealtimeCapture : CairoPaintBarsPre
{
- private double lastTv;
- private double lastTc;
+ //private double lastTv;
+ //private double lastTc;
private List<double> tv_l;
private List<double> tc_l;
@@ -2968,13 +2970,14 @@ public class CairoPaintBarsPreJumpReactiveRealtimeCapture : CairoPaintBarsPre
public CairoPaintBarsPreJumpReactiveRealtimeCapture (DrawingArea darea, string fontStr,
Constants.Modes mode, string personName, string testName, int pDN,// bool
heightPreferred,
- double lastTv, double lastTc, string tvString, string tcString)
+ //double lastTv, double lastTc,
+ string tvString, string tcString)
{
initialize (darea, fontStr, mode, personName, testName, pDN);
this.title = Catalog.GetString("Last test:") + " " + generateTitle();
- this.lastTv = lastTv;
- this.lastTc = lastTc;
+ //this.lastTv = lastTv;
+ //this.lastTc = lastTc;
tv_l = new List<double>();
tc_l = new List<double>();
@@ -3077,8 +3080,6 @@ public class CairoPaintBarsPreJumpReactiveRealtimeCapture : CairoPaintBarsPre
//TODO: care for R (RSAs) on distancesString
public class CairoPaintBarsPreRunIntervalRealtimeCapture : CairoPaintBarsPre
{
- private double lastDistance;
- private double lastTime;
private bool isRelative; //related to names: distance and time
private List<double> distance_l;
@@ -3094,13 +3095,12 @@ public class CairoPaintBarsPreRunIntervalRealtimeCapture : CairoPaintBarsPre
public CairoPaintBarsPreRunIntervalRealtimeCapture (DrawingArea darea, string fontStr,
Constants.Modes mode, string personName, string testName, int pDN,// bool
heightPreferred,
bool isRelative,
- double lastDistance, double lastTime, string timesString, string distancesString)
+ double lastDistance,
+ string timesString, string distancesString)
{
initialize (darea, fontStr, mode, personName, testName, pDN);
this.title = Catalog.GetString("Last test:") + " " + generateTitle();
- this.lastDistance = lastDistance;
- this.lastTime = lastTime;
this.isRelative = isRelative;
distance_l = new List<double>();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]