From: simon Date: Sun, 18 Apr 2010 15:07:52 +0000 (+0000) Subject: Patch from Ben Hutchings: explicitly initialise something which some X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/911c3ec1d26e2b5fddb5da67c1e139a97941d0ea Patch from Ben Hutchings: explicitly initialise something which some gccs complained about. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8923 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/tree234.c b/tree234.c index 0010447..4b3151e 100644 --- a/tree234.c +++ b/tree234.c @@ -1160,7 +1160,7 @@ tree234 *join234r(tree234 *t1, tree234 *t2) { * in t. */ static node234 *split234_internal(tree234 *t, int index) { - node234 *halves[2], *n, *sib, *sub; + node234 *halves[2] = { NULL, NULL }, *n, *sib, *sub; node234 *lparent, *rparent; int ki, pki, i, half, lcount, rcount;