summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-05-26 05:26:26 +0000
committerRoland McGrath <roland@redhat.com>1992-05-26 05:26:26 +0000
commitfc1ec6ab56acc4968b7b5e9cfde61e4d8210b171 (patch)
tree94589c6e60486e7f287f3f23c255e4333a14e166 /rule.c
parentb4f6efcf698f1adc6fc59f3e544606cb6e63f586 (diff)
downloadgunmake-fc1ec6ab56acc4968b7b5e9cfde61e4d8210b171.tar.gz
Formerly rule.c.~5~
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rule.c b/rule.c
index 74f8a9e..105cea5 100644
--- a/rule.c
+++ b/rule.c
@@ -252,7 +252,7 @@ new_pattern_rule (rule, override)
rule->next = 0;
/* Search for an identical rule. */
- lastrule = pattern_rules;
+ lastrule = 0;
for (r = pattern_rules; r != 0; lastrule = r, r = r->next)
for (i = 0; rule->targets[i] != 0; ++i)
{