GNOME Bugzilla – Bug 732005
Remove unused assignments
Last modified: 2014-06-22 11:58:40 UTC
Couple of trivial patches attached.
Created attachment 278888 [details] [review] goption: Remove an unused assignment Coverity issue: #1159514
Created attachment 278889 [details] [review] gclosure: Remove an unused alloca() and assignment Coverity issue: #1159511
Review of attachment 278888 [details] [review]: ::: glib/goption.c @@ +1190,3 @@ { + get_change (context, G_OPTION_ARG_NONE, + entry->arg_data); It would make me happier if we explicitly cast to void here, as a hint to a future person looking at the code that we don't need the value.
Review of attachment 278889 [details] [review]: Right. This was subtle.
Pushed with the (void) cast added. Attachment 278888 [details] pushed as afea86a - goption: Remove an unused assignment Attachment 278889 [details] pushed as 0950369 - gclosure: Remove an unused alloca() and assignment