[chronojump] Fixes warning - avois assigning the variable because it's not used.



commit 1a97ec08adbe8b4e385628177f0617be5a3f2242
Author: Carles Pina i Estany <carles pina cat>
Date:   Sun Oct 16 19:19:36 2016 +0200

    Fixes warning - avois assigning the variable because it's not used.
    
    Many different parts of the code are using the pattern of deleting and
    not checking if it has been deleted. Some day we might show an error to
    the user. Now there is a Log message for this.

 src/gui/encoder.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 4023bf9..ae64b10 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -1428,7 +1428,7 @@ public partial class ChronoJumpWindow
        void encoderSignalDelete (string signalURL, int signalID) 
        {
                //remove signal file
-               bool deletedOk = Util.FileDelete(signalURL);
+               Util.FileDelete(signalURL);
 
                //delete signal from encoder table
                Sqlite.Delete(false, Constants.EncoderTable, signalID);


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