mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
dbus: Do not initialize variable twice
There is no point in initializing 'success' to FALSE when the actual value is set just below this. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c1a14ef42f
commit
8e2a3a4c21
@ -500,7 +500,7 @@ DBusMessage * wpas_dbus_iface_capabilities(DBusMessage *message,
|
||||
/* EAP methods */
|
||||
eap_methods = eap_get_names_as_string_array(&num_items);
|
||||
if (eap_methods) {
|
||||
dbus_bool_t success = FALSE;
|
||||
dbus_bool_t success;
|
||||
size_t i = 0;
|
||||
|
||||
success = wpa_dbus_dict_append_string_array(
|
||||
|
Loading…
Reference in New Issue
Block a user