summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-28 09:40:08 +0100
committerStefan Metzmacher <metze@samba.org>2008-03-28 09:40:08 +0100
commit52013b846a7b97022b8368b51734e7a960e704f4 (patch)
treefb614ac8936e56150aa33cb0138b15e228a2fd53
parent341c6b46b33268e58b08d6d2eddb109dd079539e (diff)
downloadsamba-52013b846a7b97022b8368b51734e7a960e704f4.tar.gz
samba-52013b846a7b97022b8368b51734e7a960e704f4.tar.bz2
samba-52013b846a7b97022b8368b51734e7a960e704f4.zip
torture: fix compiler warnings
metze (This used to be commit 326ae6ce9c8a6f5800d5ecb4a2bfdfc32336797d)
-rw-r--r--source4/torture/util_provision.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/util_provision.c b/source4/torture/util_provision.c
index d7c8f479e6..d214fc120f 100644
--- a/source4/torture/util_provision.c
+++ b/source4/torture/util_provision.c
@@ -20,6 +20,8 @@
#include "includes.h"
#include "auth/auth.h"
#include "lib/ldb_wrap.h"
+#include "torture/torture.h"
+#include "libcli/raw/libcliraw.h"
#include "torture/util.h"
#include "param/param.h"
@@ -27,12 +29,9 @@
#include "scripting/python/modules.h"
NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx,
- struct provision_settings *settings)
+ struct provision_settings *settings)
{
- bool ok;
PyObject *provision_mod, *provision_dict, *provision_fn, *result, *parameters;
- struct ldb_context *ldb;
- char *sam_ldb_path;
DEBUG(0,("Provision for Become-DC test using python\n"));