summaryrefslogtreecommitdiff
path: root/source4/lib/charset
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-12 02:15:42 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:42 +0100
commitb8850f326befab8a745e2b880214159908e7ec58 (patch)
tree97d181930ff9cc55abe819919dc8ee2450b40dc2 /source4/lib/charset
parent4b0199a5493ea2b88558cc40871e63c1dc8dbb56 (diff)
downloadsamba-b8850f326befab8a745e2b880214159908e7ec58.tar.gz
samba-b8850f326befab8a745e2b880214159908e7ec58.tar.bz2
samba-b8850f326befab8a745e2b880214159908e7ec58.zip
r26410: Remove unnecessary static.
(This used to be commit 13ae3108dad2f9f0f7a421d672751fa594f4e3fb)
Diffstat (limited to 'source4/lib/charset')
-rw-r--r--source4/lib/charset/charcnv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/charset/charcnv.c b/source4/lib/charset/charcnv.c
index 83bd11563f..5100a1b016 100644
--- a/source4/lib/charset/charcnv.c
+++ b/source4/lib/charset/charcnv.c
@@ -115,10 +115,10 @@ static smb_iconv_t get_conv_handle(struct smb_iconv_convenience *ic,
charset_t from, charset_t to)
{
const char *n1, *n2;
- static int initialised;
+ static bool initialised;
- if (initialised == 0) {
- initialised = 1;
+ if (initialised == false) {
+ initialised = true;
#ifdef LC_ALL
/* we set back the locale to C to get ASCII-compatible