mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 17:28:20 +00:00
trivial: Fix warning from clang about unused variable
This commit is contained in:
parent
4d7bcaace5
commit
0b6907e0bb
@ -30,6 +30,7 @@ fwupd_thread_test_thread_cb (gpointer user_data)
|
||||
g_autoptr(GMainContext) context = g_main_context_new ();
|
||||
g_autoptr(GMainContextPusher) pusher = g_main_context_pusher_new (context);
|
||||
|
||||
g_assert (pusher != NULL);
|
||||
g_message ("Calling fwupd_client_get_devices() in thread %p with main context %p",
|
||||
g_thread_self (), g_main_context_get_thread_default ());
|
||||
if (!fwupd_client_connect (self->client, NULL, &error_local))
|
||||
|
@ -30,6 +30,7 @@ fwupd_thread_test_thread_cb (gpointer user_data)
|
||||
g_autoptr(GMainContext) context = g_main_context_new ();
|
||||
g_autoptr(GMainContextPusher) pusher = g_main_context_pusher_new (context);
|
||||
|
||||
g_assert (pusher != NULL);
|
||||
g_message ("Calling fwupd_client_get_devices() in thread %p with main context %p",
|
||||
g_thread_self (), g_main_context_get_thread_default ());
|
||||
devices = fwupd_client_get_devices (self->client, NULL, &error_local);
|
||||
|
Loading…
Reference in New Issue
Block a user