[glib] gio-tool: Remove a stray semicolon



commit 996bb349864e69f8c2ccecedb2409468158fe705
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Jul 11 21:47:49 2016 +0100

    gio-tool: Remove a stray semicolon
    
    This meant the help text would always be outputted, rendering
    the same mode useless and the code below it dead.
    
    Coverity CID: 1357352

 gio/gio-tool-save.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gio-tool-save.c b/gio/gio-tool-save.c
index 74e4de1..17989ae 100644
--- a/gio/gio-tool-save.c
+++ b/gio/gio-tool-save.c
@@ -176,7 +176,7 @@ handle_save (int argc, char *argv[], gboolean do_help)
       return 1;
     }
 
-  if (argc > 2);
+  if (argc > 2)
     {
       show_help (context, _("Too many arguments"));
       return 1;


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