]> granicus.if.org Git - file/commitdiff
remove unused variables
authorChristos Zoulas <christos@zoulas.com>
Thu, 17 Sep 2015 01:14:09 +0000 (01:14 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 17 Sep 2015 01:14:09 +0000 (01:14 +0000)
src/funcs.c

index 3cd9a54f4b25a34e563fb015f3e173bf6050978f..fc105f2a8485f8ec27ee49014668285d3f65ca08 100644 (file)
@@ -27,7 +27,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: funcs.c,v 1.85 2015/09/17 01:10:51 christos Exp $")
+FILE_RCSID("@(#)$File: funcs.c,v 1.86 2015/09/17 01:14:09 christos Exp $")
 #endif /* lint */
 
 #include "magic.h"
@@ -178,7 +178,6 @@ file_buffer(struct magic_set *ms, int fd, const char *inname __attribute__ ((__u
     const void *buf, size_t nb)
 {
        int m = 0, rv = 0, looks_text = 0;
-       int mime = ms->flags & MAGIC_MIME;
        const unsigned char *ubuf = CAST(const unsigned char *, buf);
        unichar *u8buf = NULL;
        size_t ulen;