diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 19:22:52 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 19:22:52 +0100 |
commit | eb1d915b496f1eab01574c4e325326016a18b220 (patch) | |
tree | ec5398184056714147447bf4f399c9a06a1f39fe /FICS/playerdb.c | |
parent | c9e308b61de0def5ff2a42634368ad1fcc2cb2a4 (diff) |
got_attr_value_player: init 'tmp'
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 60fbc55..b9e4704 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -513,7 +513,7 @@ PRIVATE int got_attr_value_player(int p, char *attr, char *value, FILE *fp, char *file) { char *tmp1; - char tmp[MAX_LINE_SIZE]; + char tmp[MAX_LINE_SIZE] = { '\0' }; int i, len; if (!strcmp(attr, "name:")) { |