From 470c578aaeb605ebea1263e9de0d8a17bdec6d24 Mon Sep 17 00:00:00 2001 From: Henrique Dante de Almeida Date: Tue, 8 May 2012 16:21:01 -0300 Subject: tools: Remove dead assignment in supplicant --- tools/supplicant.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/supplicant.c b/tools/supplicant.c index b1d28d20..fd001147 100644 --- a/tools/supplicant.c +++ b/tools/supplicant.c @@ -1745,10 +1745,8 @@ static void interface_get_result(const char *error, const char *path = NULL; int err; - if (error != NULL) { - err = -EIO; + if (error != NULL) goto create; - } dbus_message_iter_get_basic(iter, &path); if (path == NULL) { -- cgit v1.2.1