]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Remove useless code in eval
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 07:46:21 +0000 (00:46 -0700)
committerPaul Smith <psmith@gnu.org>
Mon, 2 Sep 2019 15:11:26 +0000 (11:11 -0400)
* 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

index 76e9ed37f4327d4c794586244626363704fe2cff..53fee223fae3f8f4857d91fab3db0afb6f1edb04 100644 (file)
@@ -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