#endif
#ifndef lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.119 2008/02/18 00:43:45 rrt Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.120 2008/02/18 21:45:58 rrt Exp $")
#endif /* lint */
#define EATAB {while (isascii((unsigned char) *l) && \
protected struct mlist *
file_apprentice(struct magic_set *ms, const char *fn, int action)
{
- char *p, *mfn, *afn = NULL;
+ char *p, *mfn;
int file_err, errs = -1;
struct mlist *mlist;
file_err = apprentice_1(ms, fn, action, mlist);
if (file_err > errs)
errs = file_err;
- if (afn) {
- free(afn);
- afn = NULL;
- }
fn = p;
}
if (errs == -1) {