summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/nmblookup.c4
-rw-r--r--source3/utils/testparm.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 85f092c8b0..31c7967a07 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 4c8a2ccf63..e8dd3c15b2 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;