summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-08 19:21:01 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-09 14:18:01 (GMT)
commit470c578aaeb605ebea1263e9de0d8a17bdec6d24 (patch)
tree31044c8dc8dcb668e447e4bc11956822f91072c8 /tools
parent13ece39329a26988cb26798c60746d148327b54f (diff)
downloadconnman-470c578aaeb605ebea1263e9de0d8a17bdec6d24.zip
connman-470c578aaeb605ebea1263e9de0d8a17bdec6d24.tar.gz
connman-470c578aaeb605ebea1263e9de0d8a17bdec6d24.tar.bz2
tools: Remove dead assignment in supplicant
Diffstat (limited to 'tools')
-rw-r--r--tools/supplicant.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/supplicant.c b/tools/supplicant.c
index b1d28d2..fd00114 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) {