bug-indent
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]