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:
Philip Withnall 2022-04-28 10:43:13 +01:00
parent 86b8891add
commit c02890645b

View File

@ -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);