diff --git a/glib/goption.c b/glib/goption.c index 2e4529215..643828120 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;