From afea86a7ef4f73a6fffd2155f2ddf411bb6fd8c6 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sat, 21 Jun 2014 12:28:54 +0100 Subject: [PATCH] goption: Remove an unused assignment Coverity issue: #1159514 https://bugzilla.gnome.org/show_bug.cgi?id=732005 --- glib/goption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4