summaryrefslogtreecommitdiffstats
path: root/misc/charset_conv.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-14 16:05:54 +0200
committerDudemanguy <random342@airmail.cc>2023-10-19 14:03:23 +0000
commitf0b2854e932630cd31962f788687d5c77fa77702 (patch)
tree7a32fe732f40203673eb844146b66eec0f071653 /misc/charset_conv.c
parentcb48b40bb3faeffc0d08481b2a37af39d2128260 (diff)
downloadmpv-f0b2854e932630cd31962f788687d5c77fa77702.tar.bz2
mpv-f0b2854e932630cd31962f788687d5c77fa77702.tar.xz
charset_conv: suppress unused-label warning
Diffstat (limited to 'misc/charset_conv.c')
-rw-r--r--misc/charset_conv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/charset_conv.c b/misc/charset_conv.c
index 3668f3b652..b54f6362b6 100644
--- a/misc/charset_conv.c
+++ b/misc/charset_conv.c
@@ -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;
return (bstr){outbuf, osize - oleft - 1};
-#endif
failure:
+#endif
+
if (flags & MP_NO_LATIN1_FALLBACK) {
return buf;
} else {