mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
tests: Drop redundant store
This fixes a scan-build warning: ``` ../../../../source/glib/gio/tests/gdbus-tests.c:146:3: warning: Value stored to 'watch_id' is never read [deadcode.DeadStores] watch_id = 0; ^ ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1767
This commit is contained in:
@@ -143,7 +143,6 @@ ensure_gdbus_testserver_up (GDBusConnection *connection,
|
||||
g_main_context_iteration (context, TRUE);
|
||||
|
||||
g_bus_unwatch_name (watch_id);
|
||||
watch_id = 0;
|
||||
|
||||
while (!data.unwatch_complete)
|
||||
g_main_context_iteration (context, TRUE);
|
||||
|
Reference in New Issue
Block a user