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>
This commit is contained in:
parent
9670f8773b
commit
06df2aa60a
5 changed files with 12 additions and 12 deletions
|
@ -645,7 +645,7 @@ void handle_probe_req(struct hostapd_data *hapd,
|
|||
* with AP configuration */
|
||||
|
||||
#ifdef CONFIG_TESTING_OPTIONS
|
||||
if (hapd->iconf->ignore_probe_probability > 0.0d &&
|
||||
if (hapd->iconf->ignore_probe_probability > 0.0 &&
|
||||
drand48() < hapd->iconf->ignore_probe_probability) {
|
||||
wpa_printf(MSG_INFO,
|
||||
"TESTING: ignoring probe request from " MACSTR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue