mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 14:36:05 +03:00
don't zero-initialise variable
For global variables, the C standard ensures that this variable will be zeroed on startup. Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
119d1b2da1
commit
8c5127b375
@ -2424,7 +2424,6 @@ main(int argc, char **argv)
|
|||||||
__progname++;
|
__progname++;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memset(password, 0, sizeof(password));
|
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
fw_query_init();
|
fw_query_init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user