summaryrefslogtreecommitdiff
path: root/lib/util/charset
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-03-29 09:45:22 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-30 12:17:05 +0200
commitc3952097910bb34ac8c00b1a23261fea7ce56bfc (patch)
tree770d7e1122aaeac1e122bd28778b55352dc21798 /lib/util/charset
parentfbd0ff69ec07c55a2858f49b1effb40bd871d4a6 (diff)
downloadsamba-c3952097910bb34ac8c00b1a23261fea7ce56bfc.tar.gz
samba-c3952097910bb34ac8c00b1a23261fea7ce56bfc.tar.bz2
samba-c3952097910bb34ac8c00b1a23261fea7ce56bfc.zip
lib/util/charset Remove pointless static bool initialised
Diffstat (limited to 'lib/util/charset')
-rw-r--r--lib/util/charset/codepoints.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/util/charset/codepoints.c b/lib/util/charset/codepoints.c
index 62a80a35d4..91c44b8636 100644
--- a/lib/util/charset/codepoints.c
+++ b/lib/util/charset/codepoints.c
@@ -296,11 +296,6 @@ smb_iconv_t get_conv_handle(struct smb_iconv_handle *ic,
charset_t from, charset_t to)
{
const char *n1, *n2;
- static bool initialised;
-
- if (initialised == false) {
- initialised = true;
- }
if (ic->conv_handles[from][to]) {
return ic->conv_handles[from][to];