projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f33bc03
)
hostapd: Remove redundant variable initialization
author
Baruch Siach
<baruch@tkos.co.il>
Sat, 16 Jun 2012 17:26:51 +0000
(20:26 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sat, 16 Jun 2012 17:26:51 +0000
(20:26 +0300)
The 'errors' variable is initialized later anyway.
Signed-hostap: Baruch Siach <baruch@tkos.co.il>
hostapd/config_file.c
patch
|
blob
|
history
diff --git
a/hostapd/config_file.c
b/hostapd/config_file.c
index
eab8ad4
..
65a53fe
100644
(file)
--- a/
hostapd/config_file.c
+++ b/
hostapd/config_file.c
@@
-2475,7
+2475,7
@@
struct hostapd_config * hostapd_config_read(const char *fname)
int hostapd_set_iface(struct hostapd_config *conf,
struct hostapd_bss_config *bss, char *field, char *value)
{
- int errors
= 0
;
+ int errors;
size_t i;
errors = hostapd_config_fill(conf, bss, field, value, 0);