diff options
Diffstat (limited to 'source3/lib/charcnv.c')
-rw-r--r-- | source3/lib/charcnv.c | 6 |
1 files changed, 0 insertions, 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 |