[glib] goption: Remove an unused assignment
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] goption: Remove an unused assignment
- Date: Sun, 22 Jun 2014 11:58:15 +0000 (UTC)
commit afea86a7ef4f73a6fffd2155f2ddf411bb6fd8c6
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Jun 21 12:28:54 2014 +0100
goption: Remove an unused assignment
Coverity issue: #1159514
https://bugzilla.gnome.org/show_bug.cgi?id=732005
glib/goption.c | 4 ++--
1 files 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]