summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rule.c b/rule.c
index 7627225..c58ef40 100644
--- a/rule.c
+++ b/rule.c
@@ -70,7 +70,7 @@ count_implicit_rule_limits (void)
{
char *name;
int namelen;
- struct rule *rule, *lastrule;
+ struct rule *rule;
num_pattern_rules = max_pattern_targets = max_pattern_deps = 0;
max_pattern_dep_length = 0;
@@ -78,7 +78,6 @@ count_implicit_rule_limits (void)
name = 0;
namelen = 0;
rule = pattern_rules;
- lastrule = 0;
while (rule != 0)
{
unsigned int ndeps = 0;
@@ -138,7 +137,6 @@ count_implicit_rule_limits (void)
if (ndeps > max_pattern_deps)
max_pattern_deps = ndeps;
- lastrule = rule;
rule = next;
}