diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-05 09:16:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-05 09:16:00 +0000 |
commit | 232be3e79b97eceae617fe8af020d23b49e01de1 (patch) | |
tree | ce4c8baf7b3c46c6cc015a1f29750c3269be1544 /shell | |
parent | 18f2a79f9b0cb10cc54bb92e5f40f0a72c707f6f (diff) | |
download | busybox-w32-232be3e79b97eceae617fe8af020d23b49e01de1.tar.gz busybox-w32-232be3e79b97eceae617fe8af020d23b49e01de1.tar.bz2 busybox-w32-232be3e79b97eceae617fe8af020d23b49e01de1.zip |
hush: suppress bogus warning from 4.2.1
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 43e715aff..39d3c01de 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -1901,9 +1901,14 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask) | |||
1901 | #endif | 1901 | #endif |
1902 | default: /* <SPECIAL_VAR_SYMBOL>varname<SPECIAL_VAR_SYMBOL> */ | 1902 | default: /* <SPECIAL_VAR_SYMBOL>varname<SPECIAL_VAR_SYMBOL> */ |
1903 | case_default: { | 1903 | case_default: { |
1904 | bool exp_len = false, exp_null = false; | 1904 | bool exp_len = false; |
1905 | char *var = arg, exp_save, exp_op, *exp_word; | 1905 | bool exp_null = false; |
1906 | char *var = arg; | ||
1907 | char exp_save = exp_save; /* for compiler */ | ||
1908 | char exp_op = exp_op; /* for compiler */ | ||
1909 | char *exp_word = exp_word; /* for compiler */ | ||
1906 | size_t exp_off = 0; | 1910 | size_t exp_off = 0; |
1911 | |||
1907 | *p = '\0'; | 1912 | *p = '\0'; |
1908 | arg[0] = first_ch & 0x7f; | 1913 | arg[0] = first_ch & 0x7f; |
1909 | 1914 | ||