[vlc-commits] commit: Small simplification (ToCharset). (Laurent Aimar )
git at videolan.org
git at videolan.org
Wed Nov 3 23:33:13 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Nov 3 23:31:43 2010 +0100| [ba8bb2cb6c5fd07b6f2a347738f03b6a5367b533] | committer: Laurent Aimar
Small simplification (ToCharset).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba8bb2cb6c5fd07b6f2a347738f03b6a5367b533
---
src/text/unicode.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/text/unicode.c b/src/text/unicode.c
index 1dd7985..bad916c 100644
--- a/src/text/unicode.c
+++ b/src/text/unicode.c
@@ -451,10 +451,7 @@ 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;
More information about the vlc-commits
mailing list