summaryrefslogtreecommitdiff
path: root/implicit.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-04-28 01:41:47 -0400
committerPaul Smith <psmith@gnu.org>2013-04-28 01:41:47 -0400
commit93843ccd08a8d4dff64c5fb52701e150b35c959d (patch)
treebb03dbdef6ac1a75d4e4160d653b5608d7ab52d8 /implicit.c
parent7f01830927969a8386050617385e59070fe9f34b (diff)
downloadgunmake-93843ccd08a8d4dff64c5fb52701e150b35c959d.tar.gz
Fix a few compiler warnings found by Eli.
Diffstat (limited to 'implicit.c')
-rw-r--r--implicit.c8
1 files changed, 1 insertions, 7 deletions
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