summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-08 22:32:38 +0000
committerPaul Smith <psmith@gnu.org>1999-07-08 22:32:38 +0000
commitb12e183563321ac2cea0e0093e7bc81e4093677b (patch)
treeb970aea3a3a4c645794298cccb03c191e49583cb
parent4aaf42aa4521ca61713afe987ea0ab7d8fa862f5 (diff)
downloadmake-b12e183563321ac2cea0e0093e7bc81e4093677b.tar.gz
* Minor code cleanup.
-rw-r--r--main.c5
-rw-r--r--remake.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/main.c b/main.c
index c3158271..cad697a4 100644
--- a/main.c
+++ b/main.c
@@ -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:
diff --git a/remake.c b/remake.c
index d94094ad..d39c558d 100644
--- a/remake.c
+++ b/remake.c
@@ -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;