mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-27 23:06:54 +00:00
(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:
parent
e6bce5ef88
commit
3c9e8b266a
1 changed files with 3 additions and 0 deletions
3
remake.c
3
remake.c
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue