Commit ba8bb2cb authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Small simplification (ToCharset).

parent 7fe74e0d
......@@ -451,11 +451,8 @@ void *ToCharset(const char *charset, const char *in, size_t *outsize)
free (res);
res = NULL;
if (errno != E2BIG) /* conversion failure */
{
res = NULL;
break;
}
}
vlc_iconv_close (hd);
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