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
|
@ -174,11 +174,11 @@ struct hostapd_config * hostapd_config_defaults(void)
|
|||
conf->ap_table_expiration_time = 60;
|
||||
|
||||
#ifdef CONFIG_TESTING_OPTIONS
|
||||
conf->ignore_probe_probability = 0.0d;
|
||||
conf->ignore_auth_probability = 0.0d;
|
||||
conf->ignore_assoc_probability = 0.0d;
|
||||
conf->ignore_reassoc_probability = 0.0d;
|
||||
conf->corrupt_gtk_rekey_mic_probability = 0.0d;
|
||||
conf->ignore_probe_probability = 0.0;
|
||||
conf->ignore_auth_probability = 0.0;
|
||||
conf->ignore_assoc_probability = 0.0;
|
||||
conf->ignore_reassoc_probability = 0.0;
|
||||
conf->corrupt_gtk_rekey_mic_probability = 0.0;
|
||||
#endif /* CONFIG_TESTING_OPTIONS */
|
||||
|
||||
#ifdef CONFIG_ACS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue