mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
hostapd: Remove redundant variable initialization
The 'errors' variable is initialized later anyway. Signed-hostap: Baruch Siach <baruch@tkos.co.il>
This commit is contained in:
parent
f33bc03582
commit
4929898dab
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user