From 8c5127b375fbcd50d032da049a15aa42029edb97 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sat, 11 Mar 2017 16:05:24 -0800 Subject: [PATCH] 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 --- src/iodined.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/iodined.c b/src/iodined.c index 76b3dcf..339db6f 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -2424,7 +2424,6 @@ main(int argc, char **argv) __progname++; #endif - memset(password, 0, sizeof(password)); srand(time(NULL)); fw_query_init();