diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-08 23:59:15 +0000 | 
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-08 23:59:15 +0000 | 
| commit | c9d24bcfd5c2f9940f1731f2747094951dbd1968 (patch) | |
| tree | 01a3511f9f0c8047a6a7cabf84da84d7877ad6bd | |
| parent | 38376983d94df6f6351efd83466854cbecfdd376 (diff) | |
Notes
| -rw-r--r-- | lib/libc/locale/utf8.c | 8 | 
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libc/locale/utf8.c b/lib/libc/locale/utf8.c index ce49279cb2d7..843d59f77c54 100644 --- a/lib/libc/locale/utf8.c +++ b/lib/libc/locale/utf8.c @@ -145,14 +145,6 @@ _UTF8_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,  			mask = 0x07;  			want = 4;  			lbound = 0x10000; -		} else if ((ch & 0xfc) == 0xf8) { -			mask = 0x03; -			want = 5; -			lbound = 0x200000; -		} else if ((ch & 0xfe) == 0xfc) { -			mask = 0x01; -			want = 6; -			lbound = 0x4000000;  		} else {  			/*  			 * Malformed input; input is not UTF-8.  | 
