goption: Remove an unused assignment

Coverity issue: #1159514

https://bugzilla.gnome.org/show_bug.cgi?id=732005
This commit is contained in:
Philip Withnall 2014-06-21 12:28:54 +01:00
parent 6b8ae8f21b
commit afea86a7ef

View File

@ -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;