mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
parent
4b0199a549
commit
b8850f326b
@ -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
|
||||
|
@ -168,7 +168,7 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
|
||||
|
||||
int ldb_global_init(void)
|
||||
{
|
||||
static int (*static_init_fns[])(void) = STATIC_LIBLDB_MODULES;
|
||||
int (*static_init_fns[])(void) = STATIC_LIBLDB_MODULES;
|
||||
|
||||
static int initialized = 0;
|
||||
int ret = 0, i;
|
||||
|
Loading…
Reference in New Issue
Block a user