]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Remove duplicated variable assignment
authorJouni Malinen <j@w1.fi>
Sun, 2 Mar 2014 14:18:38 +0000 (16:18 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 2 Mar 2014 15:15:12 +0000 (17:15 +0200)
This gets rid of a static analyzer warning.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_helpers.c

index e26086dd158590d1d251a95a3fa7e033a92f0779..712bffce20e7ea84368bd57e45e850bc87c7a52f 100644 (file)
@@ -840,7 +840,6 @@ void wpa_dbus_flush_object_changed_properties(DBusConnection *con,
                return;
        eloop_cancel_timeout(flush_object_timeout_handler, con, obj_desc);
 
-       dsc = obj_desc->properties;
        for (dsc = obj_desc->properties, i = 0; dsc && dsc->dbus_property;
             dsc++, i++) {
                if (obj_desc->prop_changed_flags == NULL ||