From 93843ccd08a8d4dff64c5fb52701e150b35c959d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 28 Apr 2013 01:41:47 -0400 Subject: Fix a few compiler warnings found by Eli. --- implicit.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'implicit.c') diff --git a/implicit.c b/implicit.c index fce9c89..d414676 100644 --- a/implicit.c +++ b/implicit.c @@ -221,9 +221,6 @@ pattern_search (struct file *file, int archive, = xmalloc (max_pattern_deps * sizeof (struct patdeps)); struct patdeps *pat = deplist; - /* All the prerequisites actually found for a rule, after expansion. */ - struct dep *deps; - /* Names of possible dependencies are constructed in this buffer. */ char *depname = alloca (namelen + max_pattern_dep_length); @@ -800,10 +797,7 @@ pattern_search (struct file *file, int archive, /* This pattern rule does apply. Stop looking for one. */ break; - /* This pattern rule does not apply. If some of its dependencies - succeeded, free the data structure describing them. */ - /* free_idep_chain (deps); */ - deps = 0; + /* This pattern rule does not apply. Keep looking. */ } /* If we found an applicable rule without intermediate files, don't try -- cgit v1.2.3