summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-25 11:49:04 +0100
committerVolker Lendecke <vlendec@samba.org>2011-12-25 15:07:55 +0100
commit1364eb7bd7e7e6035b8a8cf4da46481f3d1460f0 (patch)
tree0e62b895195b7e604564c67337ecb41b7c0344ce /lib
parentb2eaa9afd367fd6652a6bbc28b0746be168162ef (diff)
downloadsamba-1364eb7bd7e7e6035b8a8cf4da46481f3d1460f0.tar.gz
samba-1364eb7bd7e7e6035b8a8cf4da46481f3d1460f0.tar.bz2
samba-1364eb7bd7e7e6035b8a8cf4da46481f3d1460f0.zip
lib/charset: Remove an unused variable
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Dec 25 15:07:56 CET 2011 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r--lib/util/charset/convert_string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/charset/convert_string.c b/lib/util/charset/convert_string.c
index 8f46c88039..4f9917e571 100644
--- a/lib/util/charset/convert_string.c
+++ b/lib/util/charset/convert_string.c
@@ -179,7 +179,9 @@ bool convert_string_error_handle(struct smb_iconv_handle *ic,
size_t slen = srclen;
size_t dlen = destlen;
unsigned char lastp = '\0';
+#ifndef BROKEN_UNICODE_COMPOSE_CHARACTERS
bool ret;
+#endif
if (slen == (size_t)-1) {
while (dlen &&