From 743a6a6cfc863625ed8525ff2e27745cf9e17902 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 14 Mar 2026 15:36:08 +0100 Subject: Initialization --- FICS/playerdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/playerdb.c b/FICS/playerdb.c index a382c8e..2ef68ea 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -3054,8 +3054,8 @@ player_clear_messages(int p) PUBLIC int player_search(int p, char *name) { - char *buffer[1000]; - char pdir[MAX_FILENAME_SIZE]; + char *buffer[1000] = { NULL }; + char pdir[MAX_FILENAME_SIZE] = { '\0' }; int p1, count; // Exact match with connected player? -- cgit v1.2.3