From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This fixes the following warnings: src/gatt-database.c:3541:14: warning: Value stored to 'iface' during its initialization is never read [deadcode.DeadStores] const char *iface = g_dbus_proxy_get_interface(proxy); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/gatt-database.c:3542:14: warning: Value stored to 'path' during its initialization is never read [deadcode.DeadStores] const char *path = g_dbus_proxy_get_path(proxy); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/gatt-database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gatt-database.c b/src/gatt-database.c index a212dfc4e694..c72f4a4d5c54 100644 --- a/src/gatt-database.c +++ b/src/gatt-database.c @@ -3538,8 +3538,8 @@ static void register_characteristic(void *data, void *user_data) { struct gatt_app *app = user_data; GDBusProxy *proxy = data; - const char *iface = g_dbus_proxy_get_interface(proxy); - const char *path = g_dbus_proxy_get_path(proxy); + const char *iface; + const char *path; if (app->failed) return; -- 2.37.3