summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-04-29 00:44:29 +0000
committerRoland McGrath <roland@redhat.com>1992-04-29 00:44:29 +0000
commit687844b2fe091ae265979aee182487013f347af6 (patch)
tree12210b677bb749c624d83605f71166d21cc27ca3 /rule.c
parent8b8764b427a6e5af5afb1cb3941b463c81578881 (diff)
downloadmake-687844b2fe091ae265979aee182487013f347af6.tar.gz
Formerly rule.c.~4~
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 1d8bcfd..74f8a9e 100644
--- a/rule.c
+++ b/rule.c
@@ -397,7 +397,7 @@ freerule (rule, lastrule)
abort ();
else
pattern_rules = next;
- else
+ else if (lastrule != 0)
lastrule->next = next;
if (last_pattern_rule == rule)
last_pattern_rule = lastrule;