aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-26 18:59:42 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-26 18:59:42 +0100
commit2f7352b4f5d9d319de03b7bce2b877e2be90e8c3 (patch)
tree9eba50b647660540a3e8b2980eae1af583960f04
parentb1b7996a2acd8a95ae13dad1f64f86e221167cb7 (diff)
downloadbusybox-2f7352b4f5d9d319de03b7bce2b877e2be90e8c3.tar.gz
bc: comment out code which appears to be never reached
function old new delta zbc_lex_next 1587 1568 -19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--miscutils/bc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index 632158b7f..2237a41b5 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -2901,8 +2901,9 @@ static BC_STATUS zbc_lex_next(void)
BcStatus s;
p->lex_last = p->lex;
- if (p->lex_last == XC_LEX_EOF)
- RETURN_STATUS(bc_error("end of file"));
+//why?
+// if (p->lex_last == XC_LEX_EOF)
+// RETURN_STATUS(bc_error("end of file"));
// Loop until failure or we don't have whitespace. This
// is so the parser doesn't get inundated with whitespace.