summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-13 20:57:01 +0200
committerDenys Vlasenko2011-05-13 20:57:01 +0200
commit60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch)
tree38b193f0468dd57728fe991e9eaed8abf088deeb /shell
parent8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff)
downloadbusybox-60a9414cad23b6e8cc6b13e37675826ed05f7709.zip
busybox-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 4c348ec..9cc86fa 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4517,11 +4517,11 @@ static struct pipe *parse_stream(char **pstring,
break;
#if ENABLE_HUSH_TICK
case '`': {
- unsigned pos;
+ USE_FOR_NOMMU(unsigned pos;)
o_addchr(&dest, SPECIAL_VAR_SYMBOL);
o_addchr(&dest, '`');
- pos = dest.length;
+ USE_FOR_NOMMU(pos = dest.length;)
if (!add_till_backquote(&dest, input, /*in_dquote:*/ 0))
goto parse_error;
# if !BB_MMU