summaryrefslogtreecommitdiff
path: root/str_array.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-06-29 06:12:14 +0300
committerArnold D. Robbins <arnold@skeeve.com>2022-06-29 06:12:14 +0300
commit19a1e70b81d91acc396ba5e34e5e681759cf7d54 (patch)
tree7b4c4c6a2d206e94165131738d36968362eb5355 /str_array.c
parent6bbdfdc24df4a4ff46dee47aeb27bd9fd22acd14 (diff)
downloadgawk-19a1e70b81d91acc396ba5e34e5e681759cf7d54.tar.gz
Revert "Squashed commit of the following:"
This reverts commit 6bbdfdc24df4a4ff46dee47aeb27bd9fd22acd14.
Diffstat (limited to 'str_array.c')
-rw-r--r--str_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/str_array.c b/str_array.c
index 101ad0b9..08704312 100644
--- a/str_array.c
+++ b/str_array.c
@@ -217,7 +217,7 @@ str_lookup(NODE *symbol, NODE *subs)
b->ahname = subs;
b->ahname_str = subs->stptr;
b->ahname_len = subs->stlen;
- b->ahvalue = new_array_element();
+ b->ahvalue = dupnode(Nnull_string);
b->ahcode = code1;
return & (b->ahvalue);
}