Skip to contentSkip to conversation

mesh: Remove unnecessary variable initialization

PATCH Applied Inga Stotland 2 participants 2 messages Feb 2, 2019 – Feb 4, 2019 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesh: Remove unnecessary variable initialization

---
 mesh/mesh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mesh/mesh.c +1 -1
index 881b6ed73..2c45c0a87 100644
@@ -665,7 +665,7 @@ static struct l_dbus_message *attach_call(struct l_dbus *dbus,
 						struct l_dbus_message *msg,
 						void *user_data)
 {
-	uint64_t token = 1;
+	uint64_t token;
 	const char *app_path, *sender;
 	struct attach_data *pending;
 
Signature · 1 line
2.17.2
Applied
#1 lore raw

Applied

Quoted 17 lines · Inga Stotland
---
 mesh/mesh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mesh/mesh.c +1 -1
index 881b6ed73..2c45c0a87 100644
@@ -665,7 +665,7 @@ static struct l_dbus_message *attach_call(struct l_dbus *dbus,
 						struct l_dbus_message *msg,
 						void *user_data)
 {
-	uint64_t token = 1;
+	uint64_t token;
 	const char *app_path, *sender;
 	struct attach_data *pending;