projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b8ae8f
)
goption: Remove an unused assignment
author
Philip Withnall
<philip@tecnocode.co.uk>
Sat, 21 Jun 2014 11:28:54 +0000
(12:28 +0100)
committer
Philip Withnall
<philip@tecnocode.co.uk>
Sun, 22 Jun 2014 11:57:57 +0000
(12:57 +0100)
Coverity issue: #1159514
https://bugzilla.gnome.org/show_bug.cgi?id=732005
glib/goption.c
patch
|
blob
|
history
diff --git
a/glib/goption.c
b/glib/goption.c
index
2e45292
..
6438281
100644
(file)
--- a/
glib/goption.c
+++ b/
glib/goption.c
@@
-1188,8
+1188,8
@@
parse_arg (GOptionContext *context,
{
case G_OPTION_ARG_NONE:
{
-
change =
get_change (context, G_OPTION_ARG_NONE,
-
entry->arg_data);
+
(void)
get_change (context, G_OPTION_ARG_NONE,
+ entry->arg_data);
*(gboolean *)entry->arg_data = !(entry->flags & G_OPTION_FLAG_REVERSE);
break;