From: Philip Withnall Date: Sat, 21 Jun 2014 11:28:54 +0000 (+0100) Subject: goption: Remove an unused assignment X-Git-Tag: 2.41.1~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afea86a7ef4f73a6fffd2155f2ddf411bb6fd8c6;p=platform%2Fupstream%2Fglib.git goption: Remove an unused assignment Coverity issue: #1159514 https://bugzilla.gnome.org/show_bug.cgi?id=732005 --- diff --git a/glib/goption.c b/glib/goption.c index 2e45292..6438281 100644 --- 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;