summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-06-10 02:21:09 +0000
committerPaul Smith <psmith@gnu.org>2009-06-10 02:21:09 +0000
commit421c9c8c5b5c9be7728cbe6c1a1dfff999f9de44 (patch)
tree1e0ab35d58e13f763e42aa1171112ce0daf080f6 /implicit.c
parente9114e1a9896c4ae27b938165bc1d7fa608a7a7a (diff)
downloadmake-421c9c8c5b5c9be7728cbe6c1a1dfff999f9de44.tar.gz
- Fix Savannah bug #19108
- Fix Savannah bug #17752 - Test suite: * When tests fail keep a "run" file containing the command invoked. * Support for the Valgrind "memcheck" and "massif" tools.
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/implicit.c b/implicit.c
index 02b1a91b..b536a582 100644
--- a/implicit.c
+++ b/implicit.c
@@ -423,7 +423,6 @@ pattern_search (struct file *file, int archive,
for (ri = 0; ri < nrules; ri++)
{
- struct file *f;
unsigned int failed = 0;
int check_lastslash;
int file_variables_set = 0;
@@ -678,7 +677,7 @@ pattern_search (struct file *file, int archive,
so it might actually exist. */
/* @@ dep->changed check is disabled. */
- if (((f = lookup_file (name)) != 0 && f->is_target)
+ if (lookup_file (name) != 0
/*|| ((!dep->changed || check_lastslash) && */
|| file_exists_p (name))
continue;