shithub: puzzles

Download patch

ref: b7e0d854fe39016589fd73bfa2b98eb0e9a72228
parent: 0a9b0a7384e664126a3af418f047ef627c7ac279
author: Simon Tatham <anakin@pobox.com>
date: Sun Apr 18 11:07:52 EDT 2010

Patch from Ben Hutchings: explicitly initialise something which some
gccs complained about.

[originally from svn r8923]

--- a/tree234.c
+++ b/tree234.c
@@ -1160,7 +1160,7 @@
  * 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;