summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/utils/testparm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c
index d9cbac6536..a71470a3a8 100644
--- a/source4/utils/testparm.c
+++ b/source4/utils/testparm.c
@@ -173,7 +173,6 @@ static int do_share_checks(struct loadparm_context *lp_ctx, const char *cname, c
int main(int argc, const char *argv[])
{
- static bool silent_mode = false;
int ret = 0;
poptContext pc;
/*
@@ -184,7 +183,12 @@ static int do_share_checks(struct loadparm_context *lp_ctx, const char *cname, c
static char *parameter_name = NULL;
static const char *cname;
static const char *caddr;
- static int show_defaults = false;
+ static int silent_mode = false;
+ static int show_defaults = false; /* This must be an 'int',
+ * as we take it as we pass
+ * it's address as an int
+ * pointer */
+.c
struct loadparm_context *lp_ctx;
struct poptOption long_options[] = {