diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-13 20:57:01 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-13 20:57:01 +0200 |
commit | 60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch) | |
tree | 38b193f0468dd57728fe991e9eaed8abf088deeb /shell | |
parent | 8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff) | |
download | busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.gz busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.bz2 busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.zip |
fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 4c348ec2b..9cc86fa9a 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -4517,11 +4517,11 @@ static struct pipe *parse_stream(char **pstring, | |||
4517 | break; | 4517 | break; |
4518 | #if ENABLE_HUSH_TICK | 4518 | #if ENABLE_HUSH_TICK |
4519 | case '`': { | 4519 | case '`': { |
4520 | unsigned pos; | 4520 | USE_FOR_NOMMU(unsigned pos;) |
4521 | 4521 | ||
4522 | o_addchr(&dest, SPECIAL_VAR_SYMBOL); | 4522 | o_addchr(&dest, SPECIAL_VAR_SYMBOL); |
4523 | o_addchr(&dest, '`'); | 4523 | o_addchr(&dest, '`'); |
4524 | pos = dest.length; | 4524 | USE_FOR_NOMMU(pos = dest.length;) |
4525 | if (!add_till_backquote(&dest, input, /*in_dquote:*/ 0)) | 4525 | if (!add_till_backquote(&dest, input, /*in_dquote:*/ 0)) |
4526 | goto parse_error; | 4526 | goto parse_error; |
4527 | # if !BB_MMU | 4527 | # if !BB_MMU |