diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-20 10:33:38 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-20 10:37:30 +0100 |
commit | e2dd2afc8e4dbcf1061818adc68d2e74a1fa64d3 (patch) | |
tree | 9dc1fb145d22ad8c80796bc771e43578b899b507 /shell/hush_test/hush-misc/builtin1.tests | |
parent | 3e729102a86b1fb536f61c6ebcd95321ba98528d (diff) | |
download | busybox-e2dd2afc8e4dbcf1061818adc68d2e74a1fa64d3.tar.gz |
ash: eval: Always set localvar_stop
Upstream commit:
Date: Thu, 31 May 2018 01:15:34 +0800
eval: Always set localvar_stop
The variable localvar_stop is set iff vlocal is true. gcc doesn't
get this so we get a spurious warning.
This patch fixes this by always calling pushlocalvars with vlocal
and making it only actually do the push if vlocal is non-zero.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-misc/builtin1.tests')
0 files changed, 0 insertions, 0 deletions