[glib] gio-tool: Remove a stray semicolon
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio-tool: Remove a stray semicolon
- Date: Mon, 11 Jul 2016 20:49:28 +0000 (UTC)
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]