hush: consolidate handling of setting/unsetting of PSn, LINENO, OPTIND
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 Apr 2018 12:50:12 +0000 (14:50 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 Apr 2018 12:50:12 +0000 (14:50 +0200)
commitcf079ffe1c26c2d42a902a60696b20a262e92d87
tree13ab2e6f6c2b4514559e0475415366aaaa8e024c
parentde0262598504f55251e3763e73f259074795de5d
hush: consolidate handling of setting/unsetting of PSn, LINENO, OPTIND

function                                             old     new   delta
handle_changed_special_names                           -      99     +99
unset_local_var                                      256     155    -101
set_local_var                                        557     437    -120
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 99/-221)          Total: -122 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c