Cope with the requirement for constant initialisers on some unix C compilers.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 16 Jun 2002 11:21:07 +0000 (11:21 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Jun 2002 11:21:07 +0000 (11:21 +0000)
Andrew Bartlett
(This used to be commit 11b6d283d3c1408c89b03918f3a0c034411f5966)

source3/utils/testparm.c

index b63fbf41453741b235821e73f830a56ed86c1fc6..1d48249a7580de34a011129e4bcbd752f6621dc4 100644 (file)
@@ -178,7 +178,7 @@ int main(int argc, char *argv[])
        extern fstring local_machine;
        const char *config_file = dyn_CONFIGFILE;
        int s;
-       BOOL silent_mode = False;
+       static BOOL silent_mode = False;
        int ret = 0;
        int opt;
        poptContext pc;