From a5711befb70980b837b548fb9653a708119fe9bf Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 9 May 2011 17:29:55 +0300 Subject: Fixes for uninitialized variables. --- array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index 5cf75d27..84b9a913 100644 --- a/array.c +++ b/array.c @@ -666,11 +666,12 @@ local_array: void do_delete(NODE *symbol, int nsubs) { - unsigned long hash1; + unsigned long hash1 = 0; NODE *subs, *bucket, *last, *r; int i; assert(symbol->type == Node_var_array); + subs = bucket = last = r = NULL; /* silence the compiler */ /* * The force_string() call is needed to make sure that @@ -1446,7 +1447,6 @@ sort_up_value_type(const void *p1, const void *p2) { const NODE *t1, *t2; NODE *n1, *n2; - int ret; /* we're passed a pair of index (array subscript) nodes */ t1 = *(const NODE *const *) p1; -- cgit v1.2.3