mirror of https://github.com/mpv-player/mpv
charset_conv: suppress unused-label warning
This commit is contained in:
parent
cb48b40bb3
commit
f0b2854e93
|
@ -223,9 +223,10 @@ bstr mp_iconv_to_utf8(struct mp_log *log, bstr buf, const char *cp, int flags)
|
||||||
|
|
||||||
outbuf[osize - oleft - 1] = 0;
|
outbuf[osize - oleft - 1] = 0;
|
||||||
return (bstr){outbuf, osize - oleft - 1};
|
return (bstr){outbuf, osize - oleft - 1};
|
||||||
#endif
|
|
||||||
|
|
||||||
failure:
|
failure:
|
||||||
|
#endif
|
||||||
|
|
||||||
if (flags & MP_NO_LATIN1_FALLBACK) {
|
if (flags & MP_NO_LATIN1_FALLBACK) {
|
||||||
return buf;
|
return buf;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue