summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/rule.c b/rule.c
index 322ed23..dd0ebcb 100644
--- a/rule.c
+++ b/rule.c
@@ -135,20 +135,6 @@ count_implicit_rule_limits (void)
nonexistent subdirectory. */
dep->changed = !dir_file_exists_p (name, "");
-#ifdef VMS
- if (dep->changed && strchr (name, ':') != 0)
-#else
- if (dep->changed && *name == '/')
-#endif
- {
- /* The name is absolute and the directory does not exist.
- This rule can never possibly match, since this dependency
- can never possibly exist. So just remove the rule from
- the list. */
- freerule (rule, lastrule);
- --num_pattern_rules;
- goto end_main_loop;
- }
}
else
/* This dependency does not reside in a subdirectory. */
@@ -159,7 +145,6 @@ count_implicit_rule_limits (void)
max_pattern_deps = ndeps;
lastrule = rule;
- end_main_loop:
rule = next;
}