linux: Remove unused variable

../src/linux/up-backend.c:158:19: warning: unused variable 'name' [-Wunused-variable]
        g_autofree char *name = NULL;
                         ^
This commit is contained in:
Bastien Nocera 2023-04-18 16:37:40 +02:00
parent 99d2659efc
commit ab116cda4a

View file

@ -155,7 +155,6 @@ update_added_duplicate_device (UpBackend *backend,
g_autoptr(UpDevice) other_device = NULL;
UpDevice *bluez_device = NULL;
UpDevice *unreg_device = NULL;
g_autofree char *name = NULL;
g_autofree char *serial = NULL;
other_device = find_duplicate_device (backend, added_device);