summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-04-18 16:37:40 +0200
committerBastien Nocera <hadess@hadess.net>2023-04-18 16:39:07 +0200
commitab116cda4a6e698a4f4b6128851452df38e42f2a (patch)
tree83c6c2a83411de2250347751e9377ecb29e99c21
parent99d2659efca889f1ef8ab5b168e49f63de8edadb (diff)
linux: Remove unused variable
../src/linux/up-backend.c:158:19: warning: unused variable 'name' [-Wunused-variable] g_autofree char *name = NULL; ^
-rw-r--r--src/linux/up-backend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
index 76197df..a7da19b 100644
--- a/src/linux/up-backend.c
+++ b/src/linux/up-backend.c
@@ -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);