summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-06-25 03:43:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:47 -0500
commit1603fd94666d3175e9df12652f9ff4e1d14de064 (patch)
tree9a8c26c9e5c1d2cee6a872d4f13426a9d759628a /source4/lib/ldb/tools
parent1af480a32dcbae582aa617410d248663349e7498 (diff)
downloadsamba-1603fd94666d3175e9df12652f9ff4e1d14de064.tar.gz
samba-1603fd94666d3175e9df12652f9ff4e1d14de064.tar.bz2
samba-1603fd94666d3175e9df12652f9ff4e1d14de064.zip
r7897: work in progress
(This used to be commit 8e1431efcf0df797bc50ef584c38fce6a03429b3)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/cmdline.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c
index 31d3f2662a..606c511600 100644
--- a/source4/lib/ldb/tools/cmdline.c
+++ b/source4/lib/ldb/tools/cmdline.c
@@ -38,7 +38,10 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
{
struct ldb_cmdline options, *ret=NULL;
poptContext pc;
- int r, num_options = 0;
+#ifdef _SAMBA_BUILD_
+ int r;
+#endif
+ int num_options = 0;
char opt;
struct poptOption popt_options[] = {
POPT_AUTOHELP