summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2025-08-17 13:47:34 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2025-08-17 13:47:34 +0200
commita30882dec57d0942df30f5d033af14b1341201d5 (patch)
tree43bd75805283792181d7c792efa958d00bd7383e
parent36f1b16b055c64e98d8982581bd06bdcd998d7cc (diff)
hush: remove always-true conditional
function old new delta parse_stream 2940 2923 -17 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/hush.c1
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,
* "case ... in <newline> PATTERN) ..."
*/
if (IS_NULL_CMD(ctx.command)
- && IS_NULL_WORD(ctx.word)
&& heredoc_cnt == 0
) {
/* This newline can be ignored. But...