[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 10:02:29 +0000 (UTC)
commit 5518c5317983142319ce2c55e5e29d60b80f8dec
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 20 11:02:20 2021 +0100
Clean warnings
src/encoder.cs | 6 +++---
src/gui/app1/forceSensor.cs | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/encoder.cs b/src/encoder.cs
index d4115970f..ef3b5a7c4 100644
--- a/src/encoder.cs
+++ b/src/encoder.cs
@@ -686,8 +686,8 @@ public class EncoderSignal
double lowest = 100000;
double highest = 0;
int highestPos = 0;
- double eccValue = 0;
- double conValue = 0;
+ //double eccValue = 0;
+ //double conValue = 0;
bool ecc = true;
int i = 0;
foreach (EncoderCurve curve in curves)
@@ -704,7 +704,7 @@ public class EncoderSignal
compareTo = curve.MeanPowerD;
bool needChangeLowest = false;
- conValue = compareTo;
+ //conValue = compareTo;
if(compareTo > highest)
{
highest = compareTo;
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index bac0133ae..e2c37afee 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -1244,8 +1244,8 @@ public partial class ChronoJumpWindow
forceSensorTimeStart = DateTime.Now; //to have an active count of capture time
forceSensorTimeStartCapture = forceSensorTimeStart; //to have same DateTime on filename and
on sql datetime
capturingForce = arduinoCaptureStatus.CAPTURING;
-// string captureComment =
UtilGtk.TextViewGetCommentValidSQL(textview_force_sensor_capture_comment);
- string captureComment = UtilGtk.TextViewGetCommentValidSQL(textview_contacts_signal_comment);
+ //string captureComment =
UtilGtk.TextViewGetCommentValidSQL(textview_force_sensor_capture_comment);
+ //string captureComment =
UtilGtk.TextViewGetCommentValidSQL(textview_contacts_signal_comment);
Util.CreateForceSensorSessionDirIfNeeded (currentSession.UniqueID);
@@ -1939,7 +1939,7 @@ LogB.Information(" fs R ");
int jStart = 0;
int iStart = numCaptured - fscPoints.ScrollStartedAtCount; //-toDraw
- double toDrawRatio = toDraw / (1.0 * fscPoints.ScrollStartedAtCount);
+ //double toDrawRatio = toDraw / (1.0 * fscPoints.ScrollStartedAtCount);
// if something has been painted, connected first point with previous points
LogB.Information(" fs N0 ");
@@ -3248,7 +3248,7 @@ LogB.Information(" fs R ");
private void on_combo_force_sensor_exercise_changed (object o, EventArgs args)
{
- ComboBox combo = o as ComboBox;
+ //ComboBox combo = o as ComboBox;
if (o == null)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]