svn commit: [25963] trunk/busybox/shell
vda at busybox.net
vda at busybox.net
Sun Apr 5 09:16:00 UTC 2009
Author: vda
Date: 2009-04-05 09:16:00 +0000 (Sun, 05 Apr 2009)
New Revision: 25963
Log:
hush: suppress bogus warning from 4.2.1
Modified:
trunk/busybox/shell/hush.c
Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c 2009-04-05 09:02:11 UTC (rev 25962)
+++ trunk/busybox/shell/hush.c 2009-04-05 09:16:00 UTC (rev 25963)
@@ -1901,9 +1901,14 @@
#endif
default: /* <SPECIAL_VAR_SYMBOL>varname<SPECIAL_VAR_SYMBOL> */
case_default: {
- bool exp_len = false, exp_null = false;
- char *var = arg, exp_save, exp_op, *exp_word;
+ bool exp_len = false;
+ bool exp_null = false;
+ char *var = arg;
+ char exp_save = exp_save; /* for compiler */
+ char exp_op = exp_op; /* for compiler */
+ char *exp_word = exp_word; /* for compiler */
size_t exp_off = 0;
+
*p = '\0';
arg[0] = first_ch & 0x7f;
More information about the busybox-cvs
mailing list