diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 75083dc2e..9dd30c436 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2765,7 +2765,7 @@ static const struct reserved_combo* match_reserved_word(o_string *word) | |||
2765 | }; | 2765 | }; |
2766 | const struct reserved_combo *r; | 2766 | const struct reserved_combo *r; |
2767 | 2767 | ||
2768 | for (r = reserved_list; r < reserved_list + ARRAY_SIZE(reserved_list); r++) { | 2768 | for (r = reserved_list; r < reserved_list + ARRAY_SIZE(reserved_list); r++) { |
2769 | if (strcmp(word->data, r->literal) == 0) | 2769 | if (strcmp(word->data, r->literal) == 0) |
2770 | return r; | 2770 | return r; |
2771 | } | 2771 | } |
@@ -4660,7 +4660,7 @@ static NOINLINE const char *expand_one_var(char **to_be_freed_pp, char *arg, cha | |||
4660 | char *exp_exp_word; | 4660 | char *exp_exp_word; |
4661 | char *loc; | 4661 | char *loc; |
4662 | unsigned scan_flags = pick_scan(exp_op, *exp_word); | 4662 | unsigned scan_flags = pick_scan(exp_op, *exp_word); |
4663 | if (exp_op == *exp_word) /* ## or %% */ | 4663 | if (exp_op == *exp_word) /* ## or %% */ |
4664 | exp_word++; | 4664 | exp_word++; |
4665 | exp_exp_word = encode_then_expand_string(exp_word, /*process_bkslash:*/ 1, /*unbackslash:*/ 1); | 4665 | exp_exp_word = encode_then_expand_string(exp_word, /*process_bkslash:*/ 1, /*unbackslash:*/ 1); |
4666 | if (exp_exp_word) | 4666 | if (exp_exp_word) |