diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2023-04-21 11:24:10 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2023-04-21 11:24:10 +0300 |
commit | 3d3d4f7651c9425b28df6490b03e6cd1d3946650 (patch) | |
tree | 5e38dd4a90924e4c479416837eabd34cfd6db985 | |
parent | 756d5ca2a235d6500f9072852f24b83636a8cdea (diff) | |
download | gawk-3d3d4f7651c9425b28df6490b03e6cd1d3946650.tar.gz |
Small fix in array.c.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | array.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2023-04-21 Arnold D. Robbins <arnold@skeeve.com> + + * array.c (asort_actual): Initialize `value' to avoid + compiler complaints. Thanks to Michal Jaegermann + for the report. + 2023-04-14 Arnold D. Robbins <arnold@skeeve.com> * array.c (asort_actual): Handle Node_elem_new. Add braces @@ -933,7 +933,7 @@ asort_actual(int nargs, sort_context_t ctxt) /* value node */ r = *ptr++; - NODE *value; + NODE *value = NULL; switch (r->type) { case Node_val: |