diff options
-rw-r--r-- | main.c | 5 | ||||
-rw-r--r-- | remake.c | 2 |
2 files changed, 3 insertions, 4 deletions
@@ -1514,10 +1514,9 @@ int main (int argc, char ** argv) if (any_remade) goto re_exec; - else if (any_failed) + if (any_failed) die (2); - else - break; + break; } case 0: @@ -125,7 +125,7 @@ update_goal_chain (goals, makefiles) while (g != 0) { /* Iterate over all double-colon entries for this file. */ - struct file *file = g->file; + struct file *file; int stop = 0, any_not_updated = 0; for (file = g->file->double_colon ? g->file->double_colon : g->file; |