[gnome-bluetooth/wip/hadess/icade: 1/4] lib: Make sure type is initialised
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/icade: 1/4] lib: Make sure type is initialised
- Date: Sun, 20 Sep 2020 15:23:10 +0000 (UTC)
commit 1f8f3a2e78b279612712e2e6f8b933d9737cf561
Author: Bastien Nocera <hadess hadess net>
Date: Sun Sep 20 17:02:13 2020 +0200
lib: Make sure type is initialised
lib/bluetooth-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 1853f5a5..d35725bc 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -389,7 +389,7 @@ device_added (GDBusObjectManager *manager,
char **uuids;
gboolean paired, trusted, connected;
int legacypairing;
- BluetoothType type;
+ BluetoothType type = BLUETOOTH_TYPE_ANY;
GtkTreeIter iter, parent;
g_signal_connect_object (G_OBJECT (device), "notify",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]