hush: reduce indentation, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2e71101e31
commit
e36a5894bd
@ -2423,7 +2423,8 @@ static void set_vars_and_save_old(char **strings)
|
||||
char *eq;
|
||||
|
||||
eq = strchr(*s, '=');
|
||||
if (eq) {
|
||||
if (HUSH_DEBUG && !eq)
|
||||
bb_error_msg_and_die("BUG in varexp4");
|
||||
var_pp = get_ptr_to_local_var(*s, eq - *s);
|
||||
if (var_pp) {
|
||||
var_p = *var_pp;
|
||||
@ -2449,9 +2450,6 @@ static void set_vars_and_save_old(char **strings)
|
||||
}
|
||||
debug_printf_env("%s: env override '%s'/%u\n", __func__, *s, G.var_nest_level);
|
||||
set_local_var(*s, (G.var_nest_level << SETFLAG_VARLVL_SHIFT) | SETFLAG_EXPORT);
|
||||
} else if (HUSH_DEBUG) {
|
||||
bb_error_msg_and_die("BUG in varexp4");
|
||||
}
|
||||
s++;
|
||||
next: ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user