trivial: Fix warning from clang about unused variable

This commit is contained in:
Richard Hughes 2021-02-08 12:53:32 +00:00
parent 4d7bcaace5
commit 0b6907e0bb
2 changed files with 2 additions and 0 deletions

View File

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

View File

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