[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14/18] lexi.c: Remove dead code
From: |
Tim Hentenaar |
Subject: |
[PATCH 14/18] lexi.c: Remove dead code |
Date: |
Sat, 4 Jul 2015 13:43:28 +0200 |
This if() statement will never be true as last_code will always
be ident (15) when not_proc is jumped to.
Signed-off-by: Tim Hentenaar <address@hidden>
---
src/lexi.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/lexi.c b/src/lexi.c
index 17330e8..ca527b1 100644
--- a/src/lexi.c
+++ b/src/lexi.c
@@ -685,14 +685,6 @@ found_keyword:
/* Escape from loop checking for procedure name in if statement above. */
not_proc:
-
- if (last_code == decl)
- {
- /* if this is a declared variable, then
- following sign is unary */
- parser_state_tos->last_u_d = true; /* will make "int a -1" work */
- }
-
last_code = ident;
if (parser_state_tos->last_token == cpp_operator)
--
2.3.6
- [PATCH 04/18] s/free/xfree/g, (continued)
- [PATCH 04/18] s/free/xfree/g, Tim Hentenaar, 2015/07/04
- [PATCH 05/18] Move need_chars into handletoken.c, Tim Hentenaar, 2015/07/04
- [PATCH 06/18] args: Compiler warning fixes, Tim Hentenaar, 2015/07/04
- [PATCH 07/18] gperf*.c: Fix compiler warnings, Tim Hentenaar, 2015/07/04
- [PATCH 08/18] texinfo2man: Fix potential buffer overruns and NULL pointer dereferences, Tim Hentenaar, 2015/07/04
- [PATCH 09/18] output.c: Remove dead code, Tim Hentenaar, 2015/07/04
- [PATCH 10/18] output.c: Fix potential NULL pointer dereferences, Tim Hentenaar, 2015/07/04
- [PATCH 11/18] output.c: Remove unused variable 'boolean_operator', Tim Hentenaar, 2015/07/04
- [PATCH 12/18] globs: Fix WARNING and ERROR macros to use char * instead of int *, Tim Hentenaar, 2015/07/04
- [PATCH 13/18] sys.h: Remove unused INLINE macro, Tim Hentenaar, 2015/07/04
- [PATCH 14/18] lexi.c: Remove dead code,
Tim Hentenaar <=
- [PATCH 15/18] output: Don't shadow current_column(), Tim Hentenaar, 2015/07/04
- [PATCH 17/18] code_io.c: Fix file size test, Tim Hentenaar, 2015/07/04
- [PATCH 16/18] Makefile.am: Ensure indent builds with clang, Tim Hentenaar, 2015/07/04
- [PATCH 18/18] parse.h: Add prototype for debug_init(), Tim Hentenaar, 2015/07/04