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
commit9035aa27b7485bfdc12f8c577208a20a8b3747b6 (patch)
treeb970aea3a3a4c645794298cccb03c191e49583cb
parente1d72ad3f1f9fd9dc72b43b7c618230e0c7d190f (diff)
downloadgunmake-9035aa27b7485bfdc12f8c577208a20a8b3747b6.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 c315827..cad697a 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 d94094a..d39c558 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;