summaryrefslogtreecommitdiff
path: root/source3/lib/charcnv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/charcnv.c')
-rw-r--r--source3/lib/charcnv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 0e7d5241f4..5afc638a8d 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -100,7 +100,6 @@ size_t convert_string(charset_t from, charset_t to,
smb_iconv_t descriptor;
if (srclen == -1) srclen = strlen(src)+1;
- if (destlen == -1) destlen = strlen(dest)+1;
if (!initialised) {
initialised = 1;