From: Günther Deschner Date: Thu, 24 Mar 2011 22:02:36 +0000 (+0100) Subject: s3-charcnv: remove unused labels. X-Git-Tag: ldb-1.1.0~551 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68529bc14efd077531086b3e8bcaf85287cfa6ba;p=thirdparty%2Fsamba.git s3-charcnv: remove unused labels. Guenther Autobuild-User: Günther Deschner Autobuild-Date: Thu Mar 24 23:54:25 CET 2011 on sn-devel-104 --- diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 6addc90e222..12c708ed8ea 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