]> granicus.if.org Git - file/commitdiff
remove duplicate assignment.
authorChristos Zoulas <christos@zoulas.com>
Thu, 11 Sep 2014 12:08:52 +0000 (12:08 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 11 Sep 2014 12:08:52 +0000 (12:08 +0000)
src/encoding.c

index f8cd80acc17648a2aee5e8f023e3716c91a6044b..3dca9e3352c5b4c86fe6cd9699c03d7d9d809211 100644 (file)
@@ -35,7 +35,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: encoding.c,v 1.8 2013/09/17 15:51:22 christos Exp $")
+FILE_RCSID("@(#)$File: encoding.c,v 1.9 2013/11/19 20:45:50 christos Exp $")
 #endif /* lint */
 
 #include "magic.h"
@@ -97,7 +97,6 @@ file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, uni
                *code_mime = "utf-8";
        } else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) {
                DPRINTF(("utf8 %" SIZE_T_FORMAT "u\n", *ulen));
-               *code = "UTF-8 Unicode (with BOM)";
                *code = "UTF-8 Unicode";
                *code_mime = "utf-8";
        } else if ((ucs_type = looks_ucs16(buf, nbytes, *ubuf, ulen)) != 0) {