diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-26 18:59:42 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-26 18:59:42 +0100 |
commit | 2f7352b4f5d9d319de03b7bce2b877e2be90e8c3 (patch) | |
tree | 9eba50b647660540a3e8b2980eae1af583960f04 | |
parent | b1b7996a2acd8a95ae13dad1f64f86e221167cb7 (diff) | |
download | busybox-w32-2f7352b4f5d9d319de03b7bce2b877e2be90e8c3.tar.gz busybox-w32-2f7352b4f5d9d319de03b7bce2b877e2be90e8c3.tar.bz2 busybox-w32-2f7352b4f5d9d319de03b7bce2b877e2be90e8c3.zip |
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.c | 5 |
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) | |||
2901 | BcStatus s; | 2901 | BcStatus s; |
2902 | 2902 | ||
2903 | p->lex_last = p->lex; | 2903 | p->lex_last = p->lex; |
2904 | if (p->lex_last == XC_LEX_EOF) | 2904 | //why? |
2905 | RETURN_STATUS(bc_error("end of file")); | 2905 | // if (p->lex_last == XC_LEX_EOF) |
2906 | // RETURN_STATUS(bc_error("end of file")); | ||
2906 | 2907 | ||
2907 | // Loop until failure or we don't have whitespace. This | 2908 | // Loop until failure or we don't have whitespace. This |
2908 | // is so the parser doesn't get inundated with whitespace. | 2909 | // is so the parser doesn't get inundated with whitespace. |