← Commit list

232be3e79

Denis Vlasenko
Denis Vlasenko
2009-04-05
FAILED Duration: 34s

Subject

hush: suppress bogus warning from 4.2.1

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+7 -2
@@ -1901,9 +1901,14 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask)
#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;