diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-09 17:29:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-09 17:29:55 +0300 |
commit | a5711befb70980b837b548fb9653a708119fe9bf (patch) | |
tree | 4da7275895ed677dd25764e1bb67a989ef44a759 /array.c | |
parent | 8b6115459066a2adf536973fe5670c174bcd218c (diff) | |
download | egawk-a5711befb70980b837b548fb9653a708119fe9bf.tar.gz egawk-a5711befb70980b837b548fb9653a708119fe9bf.tar.bz2 egawk-a5711befb70980b837b548fb9653a708119fe9bf.zip |
Fixes for uninitialized variables.
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |