diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-05-02 06:50:36 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-05-02 06:50:36 +0300 |
commit | 1cf371db5f30bc9f40a4840f1d1d276ee46619a0 (patch) | |
tree | 0acbf71bbabb7a83ba77862ba0e5bb018d977e5d /str_array.c | |
parent | b2ba5a19509b72c0c3b26b6f0978e645da1769eb (diff) | |
download | gawk-1cf371db5f30bc9f40a4840f1d1d276ee46619a0.tar.gz |
Replace `! NULL' with `& success_node' in array routines.
Diffstat (limited to 'str_array.c')
-rw-r--r-- | str_array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/str_array.c b/str_array.c index aa82d71b..db24980a 100644 --- a/str_array.c +++ b/str_array.c @@ -96,7 +96,7 @@ str_array_init(NODE *symbol ATTRIBUTE_UNUSED, NODE *subs ATTRIBUTE_UNUSED) } else null_array(symbol); - return (NODE **) ! NULL; + return & success_node; } @@ -273,7 +273,7 @@ str_remove(NODE *symbol, NODE *subs) symbol->ainit(symbol, NULL); /* re-initialize symbol */ } - return (NODE **) ! NULL; /* return success */ + return & success_node; /* return success */ } } |