commit | e2dd2afc8e4dbcf1061818adc68d2e74a1fa64d3 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 20 10:33:38 2020 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 20 10:37:30 2020 +0100 |
tree | 9dc1fb145d22ad8c80796bc771e43578b899b507 | |
parent | 3e729102a86b1fb536f61c6ebcd95321ba98528d [diff] |
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>