git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbd0ff6
)
lib/util/charset Remove pointless static bool initialised
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 28 Mar 2011 22:45:22 +0000
(09:45 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 30 Mar 2011 10:17:05 +0000
(12:17 +0200)
lib/util/charset/codepoints.c
patch
|
blob
|
history
diff --git
a/lib/util/charset/codepoints.c
b/lib/util/charset/codepoints.c
index 62a80a35d47d7fd62a4e2194cd1c87aa20bd3a73..91c44b8636c93fec7f189725d14563f7ab7242a1 100644
(file)
--- 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];