aboutsummaryrefslogtreecommitdiff
path: root/tree234.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2010-04-18 15:07:52 +0000
committerSimon Tatham <anakin@pobox.com>2010-04-18 15:07:52 +0000
commitb7e0d854fe39016589fd73bfa2b98eb0e9a72228 (patch)
tree6a74917f96c0ee26417f02aa781ede02da634fab /tree234.c
parent0a9b0a7384e664126a3af418f047ef627c7ac279 (diff)
downloadpuzzles-b7e0d854fe39016589fd73bfa2b98eb0e9a72228.zip
puzzles-b7e0d854fe39016589fd73bfa2b98eb0e9a72228.tar.gz
puzzles-b7e0d854fe39016589fd73bfa2b98eb0e9a72228.tar.bz2
puzzles-b7e0d854fe39016589fd73bfa2b98eb0e9a72228.tar.xz
Patch from Ben Hutchings: explicitly initialise something which some
gccs complained about. [originally from svn r8923]
Diffstat (limited to 'tree234.c')
-rw-r--r--tree234.c2
1 files changed, 1 insertions, 1 deletions
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;