diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 22:20:19 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 22:20:19 +0100 |
commit | 456aaf6eea2cdcd7b31889a06da5c65a417c29d2 (patch) | |
tree | 9d1585621cd19817342deb788b065b71b97576fc /FICS/playerdb.c | |
parent | 86cc5019b5b6b0e08cb15095c2f48a5ef546adcf (diff) |
ReadV1PlayerFmt: initialized 'tmp2'
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r-- | FICS/playerdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index a4142de..7ee4834 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -346,7 +346,7 @@ void ReadV1PlayerFmt(int p, player *pp, FILE *fp, char *file, int version) { char *tmp; - char tmp2[MAX_STRING_LENGTH]; + char tmp2[MAX_STRING_LENGTH] = { '\0' }; int bs, ss, ws, ls, bugs; int i, size_cens, size_noplay, size_not, size_gnot, size_chan, len; |