From 9306df8640f0c2162380ace94e0a9aaaf010937f Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 20 May 2024 00:50:55 +0200 Subject: Array init --- FICS/formula.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FICS/formula.c b/FICS/formula.c index 04b315e..ffbca20 100644 --- a/FICS/formula.c +++ b/FICS/formula.c @@ -593,7 +593,7 @@ ChooseClauses(player *who, char *formula) PRIVATE void ExplainFormula(game *g, textlist **clauses) { - char txt[20]; + char txt[20] = { '\0' }; int i, which, dummy_index, value; player *challenged = &parray[g->black]; textlist** Cur = clauses; -- cgit v1.2.3