diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-17 13:47:34 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-17 13:47:34 +0200 |
| commit | a30882dec57d0942df30f5d033af14b1341201d5 (patch) | |
| tree | 43bd75805283792181d7c792efa958d00bd7383e /shell | |
| parent | 36f1b16b055c64e98d8982581bd06bdcd998d7cc (diff) | |
| download | busybox-w32-a30882dec57d0942df30f5d033af14b1341201d5.tar.gz busybox-w32-a30882dec57d0942df30f5d033af14b1341201d5.tar.bz2 busybox-w32-a30882dec57d0942df30f5d033af14b1341201d5.zip | |
hush: remove always-true conditional
function old new delta
parse_stream 2940 2923 -17
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/hush.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 4c6647bba..a87d45757 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
| @@ -5963,7 +5963,6 @@ static struct pipe *parse_stream(char **pstring, | |||
| 5963 | * "case ... in <newline> PATTERN) ..." | 5963 | * "case ... in <newline> PATTERN) ..." |
| 5964 | */ | 5964 | */ |
| 5965 | if (IS_NULL_CMD(ctx.command) | 5965 | if (IS_NULL_CMD(ctx.command) |
| 5966 | && IS_NULL_WORD(ctx.word) | ||
| 5967 | && heredoc_cnt == 0 | 5966 | && heredoc_cnt == 0 |
| 5968 | ) { | 5967 | ) { |
| 5969 | /* This newline can be ignored. But... | 5968 | /* This newline can be ignored. But... |
