aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-04-26 08:09:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-29 09:52:10 (GMT)
commit06df2aa60abb7b602699144123e3639e03ef1a96 (patch)
tree08e0290b466469720eff3b364e478225c0fcd273 /hostapd
parent9670f8773bd44de401d7782fe887aa581a5ebffc (diff)
downloadhostap-06df2aa60abb7b602699144123e3639e03ef1a96.zip
hostap-06df2aa60abb7b602699144123e3639e03ef1a96.tar.gz
hostap-06df2aa60abb7b602699144123e3639e03ef1a96.tar.bz2
Remove floating constant suffix 'd' from test coee
clang scan-build does not seem to like the 'd' suffix on floating constants and ends up reporting analyzer failures. Since this suffix does not seem to be needed, get rid of it to clear such warnings. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index c65d384..caf51a9 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3075,8 +3075,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
char *end; \
\
conf->_val = strtod(pos, &end); \
- if (*end || conf->_val < 0.0d || \
- conf->_val > 1.0d) { \
+ if (*end || conf->_val < 0.0 || \
+ conf->_val > 1.0) { \
wpa_printf(MSG_ERROR, \
"Line %d: Invalid value '%s'", \
line, pos); \