* src/implicit.c: (pattern_search):
* src/main.c: (main): Avoid compilation warnings for variables
only used when compiling a debug version with assertions.
We may replace % by $(*F) for second expansion, increasing the length. */
size_t deplen = namelen + max_pattern_dep_length + 4;
char *depname = alloca (deplen);
+#ifndef NDEBUG
char *dend = depname + deplen;
+#endif
/* The start and length of the stem of FILENAME for the current rule. */
const char *stem = 0;
for (; *av; ++av, ++nv)
{
- size_t len;
char *f;
char *a = *av;
const char *mf = makefiles->list[mfidx];
- len = strlen (a);
- assert (len > 0);
+ assert (strlen (a) > 0);
*nv = a;