diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/nmblookup.c | 4 | ||||
-rw-r--r-- | source3/utils/testparm.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 85f092c8b07..31c7967a076 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -187,8 +187,8 @@ int main(int argc,char *argv[]) int opt; unsigned int lookup_type = 0x0; fstring lookup; - BOOL find_master=False; - BOOL lookup_by_ip = False; + static BOOL find_master=False; + static BOOL lookup_by_ip = False; poptContext pc; struct poptOption long_options[] = { diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 4c8a2ccf639..e8dd3c15b22 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -192,7 +192,6 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_ int s; static BOOL silent_mode = False; int ret = 0; - int opt; poptContext pc; static const char *term_code = ""; static char *new_local_machine = NULL; |