diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-04-12 11:33:05 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-04-12 11:33:05 +0300 |
commit | bb25148a8e3c8d953f632eb635669abaccedc9a4 (patch) | |
tree | 3e31ee7cfabd96b836fdd22655f87ebb807b94b7 | |
parent | 5d078dbd9007515128ce99f3c6c68b9d7ff1b012 (diff) | |
download | egawk-bb25148a8e3c8d953f632eb635669abaccedc9a4.tar.gz egawk-bb25148a8e3c8d953f632eb635669abaccedc9a4.tar.bz2 egawk-bb25148a8e3c8d953f632eb635669abaccedc9a4.zip |
Fix a compiler warning.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gawkapi.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2017-04-12 Arnold D. Robbins <arnold@skeeve.com> + + * gawkapi.c (awk_value_to_node): Initialize ext_ret_val to NULL + to avoid compiler warnings. + 2017-04-10 Andrew J. Schorr <aschorr@telemetry-investments.com> * field.c (set_FIELDWIDTHS): Set use_chars to awk_true, since its @@ -153,7 +153,7 @@ api_set_argument(awk_ext_id_t id, NODE * awk_value_to_node(const awk_value_t *retval) { - NODE *ext_ret_val; + NODE *ext_ret_val = NULL; NODE *v; if (retval == NULL) |