1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r26410: Remove unnecessary static.

(This used to be commit 13ae3108da)
This commit is contained in:
Jelmer Vernooij 2007-12-12 02:15:42 +01:00 committed by Stefan Metzmacher
parent 4b0199a549
commit b8850f326b
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;