From ca6529e0a2d7b4bb0f424933e6555821a0cf96f3 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 17 Feb 2017 21:15:55 +0000 Subject: [PATCH] =?UTF-8?q?oops=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eval.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eval.c b/eval.c index 0bea232..8d02f94 100644 --- a/eval.c +++ b/eval.c @@ -23,7 +23,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.195 2017/02/17 20:52:15 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.196 2017/02/17 21:15:55 tg Exp $"); /* * string expansion @@ -1217,10 +1217,6 @@ varsub(Expand *xp, const char *sp, const char *word, } stype |= 0x100 | c; slen += 4; - if (word[slen] == CHAR) { - stype |= word[slen + 1]; - slen += 2; - } } else if (stype) /* : is not ok */ return (-1);