(update_goal_chain): Reset FILE to G->file after the double-colon loop so

it is never null for following code.
This commit is contained in:
Roland McGrath 1994-04-22 21:58:26 +00:00
parent e6bce5ef88
commit 3c9e8b266a

View file

@ -179,6 +179,9 @@ update_goal_chain (goals, makefiles)
break;
}
/* Reset FILE since it is null at the end of the loop. */
file = g->file;
if (stop || !any_not_updated)
{
/* If we have found nothing whatever to do for the goal,