From 68529bc14efd077531086b3e8bcaf85287cfa6ba Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Mar 2011 23:02:36 +0100 Subject: s3-charcnv: remove unused labels. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Thu Mar 24 23:54:25 CET 2011 on sn-devel-104 --- source3/lib/charcnv.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 6addc90e22..12c708ed8e 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -127,8 +127,6 @@ static size_t convert_string_internal(charset_t from, charset_t to, i_len=srclen; o_len=destlen; - again: - retval = smb_iconv(descriptor, &inbuf, &i_len, &outbuf, &o_len); if(retval==(size_t)-1) { const char *reason="unknown error"; @@ -416,8 +414,6 @@ bool convert_string_talloc(TALLOC_CTX *ctx, charset_t from, charset_t to, i_len = srclen; o_len = destlen; - again: - retval = smb_iconv(descriptor, &inbuf, &i_len, &outbuf, &o_len); @@ -444,8 +440,6 @@ bool convert_string_talloc(TALLOC_CTX *ctx, charset_t from, charset_t to, return false; } - out: - destlen = destlen - o_len; /* Don't shrink unless we're reclaiming a lot of * space. This is in the hot codepath and these -- cgit