mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-22 18:22:11 +01: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:
parent
86b8891add
commit
c02890645b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user