inspector: Annotate a call whose return value we don't need

The way this code is written, we know that there is an item in
the hash table and the iter_next call will give it to us, so
no need to check the return value. Annotate the call to tell
coverity.
This commit is contained in:
Matthias Clasen 2015-07-17 15:55:18 -04:00
parent 8ba55d80fc
commit f960d4f486

View File

@ -218,7 +218,7 @@ gtk_inspector_gestures_set_object (GtkInspectorGestures *sl,
gpointer key, value;
GtkGesture *gesture;
g_hash_table_iter_init (&iter, hash);
g_hash_table_iter_next (&iter, &key, &value);
(void)g_hash_table_iter_next (&iter, &key, &value);
gesture = key;
add_gesture_group (sl, object, gesture, hash);
}