Commit ba8bb2cb authored by Laurent Aimar's avatar Laurent Aimar

Small simplification (ToCharset).

parent 7fe74e0d
...@@ -451,10 +451,7 @@ void *ToCharset(const char *charset, const char *in, size_t *outsize) ...@@ -451,10 +451,7 @@ void *ToCharset(const char *charset, const char *in, size_t *outsize)
free (res); free (res);
res = NULL; res = NULL;
if (errno != E2BIG) /* conversion failure */ if (errno != E2BIG) /* conversion failure */
{
res = NULL;
break; break;
}
} }
vlc_iconv_close (hd); vlc_iconv_close (hd);
return res; return res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment