diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-09-08 12:46:20 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-09-08 12:46:20 +0200 |
commit | c3e4d0cf3f1fd24164e0a58db23b86b56c6dc7c8 (patch) | |
tree | 047d8f1a255b377026cdb8717a22d253401e3540 /symbol.c | |
parent | 0b8ef2cbc3e72b40046cd07f56e1cffb27690827 (diff) | |
download | egawk-c3e4d0cf3f1fd24164e0a58db23b86b56c6dc7c8.tar.gz egawk-c3e4d0cf3f1fd24164e0a58db23b86b56c6dc7c8.tar.bz2 egawk-c3e4d0cf3f1fd24164e0a58db23b86b56c6dc7c8.zip |
Fixes based on problems from a static checker.
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -221,9 +221,10 @@ remove_symbol(NODE *r) } -/* destroy_symbol --- remove a symbol from symbol table -* and free all associated memory. -*/ +/* + * destroy_symbol --- remove a symbol from symbol table + * and free all associated memory. + */ void destroy_symbol(NODE *r) @@ -262,7 +263,7 @@ destroy_symbol(NODE *r) default: /* Node_param_list -- YYABORT */ - return; + break; /* use break so that storage is freed */ } efree(r->vname); |