summaryrefslogtreecommitdiff
path: root/src/encoding.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2014-09-11 12:08:52 +0000
committerChristos Zoulas <christos@zoulas.com>2014-09-11 12:08:52 +0000
commite908a86e936a95a6429fb279094c228689e4e319 (patch)
treee9acfcb117643cddd0dffe5ce3bb41ec1bdcb0c4 /src/encoding.c
parent64485737cf5e0251ab82d0a2d50e9903ab9ac588 (diff)
downloadfile-git-e908a86e936a95a6429fb279094c228689e4e319.tar.gz
remove duplicate assignment.
Diffstat (limited to 'src/encoding.c')
-rw-r--r--src/encoding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/encoding.c b/src/encoding.c
index f8cd80ac..3dca9e33 100644
--- a/src/encoding.c
+++ b/src/encoding.c
@@ -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) {