diff options
author | Baruch Siach <baruch@tkos.co.il> | 2012-06-16 20:26:51 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-06-16 20:26:51 +0300 |
commit | 4929898dabf9d03b22ef3e64c1cfb5e2ab447806 (patch) | |
tree | 54e73f6865510b89dcc97e0b81373aa4b37afceb /hostapd | |
parent | f33bc035824a39017a25bedd7017a3ddf6bec866 (diff) | |
download | external_wpa_supplicant_8_ti-4929898dabf9d03b22ef3e64c1cfb5e2ab447806.zip external_wpa_supplicant_8_ti-4929898dabf9d03b22ef3e64c1cfb5e2ab447806.tar.gz external_wpa_supplicant_8_ti-4929898dabf9d03b22ef3e64c1cfb5e2ab447806.tar.bz2 |
hostapd: Remove redundant variable initialization
The 'errors' variable is initialized later anyway.
Signed-hostap: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/config_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index eab8ad4..65a53fe 100644 --- 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); |