bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Remove useless code in eval


From: Paul Eggert
Subject: [PATCH] Remove useless code in eval
Date: Tue, 27 Aug 2019 00:46:21 -0700

* src/read.c (eval): Remove useless code.  Without this patch,
Oracle Studio 12.6 complains ‘"src/read.c", line 1405: warning:
loop not entered at top’.
---
 src/read.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/read.c b/src/read.c
index 175d714..546280c 100644
--- a/src/read.c
+++ b/src/read.c
@@ -1395,14 +1395,7 @@ eval (struct ebuffer *ebuf, int set_default)
                   }
               }
           }
-
-        continue;
       }
-
-      /* We get here except in the case that we just read a rule line.
-         Record now the last rule we read, so following spurious
-         commands are properly diagnosed.  */
-      record_waiting_files ();
     }
 
 #undef word1eq
-- 
2.21.0




reply via email to

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