summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-18 13:18:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:27 -0500
commitbf75ae41556a67739cd089a7e3182cf2a994448c (patch)
tree7782f538f0d6c83ccb037add1d907d4a0de2f5df /source4/lib/ldb/tools
parente2bb0d0ba75265101cefd7325d705a7bf63ec585 (diff)
downloadsamba-bf75ae41556a67739cd089a7e3182cf2a994448c.tar.gz
samba-bf75ae41556a67739cd089a7e3182cf2a994448c.tar.bz2
samba-bf75ae41556a67739cd089a7e3182cf2a994448c.zip
r7726: - removed some unused variables
- handle ldb_errstring() calls on failed connect (This used to be commit 8698a20fcc6a04ccbe533afd742e7a5df94423ee)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/ldbmodify.c2
-rw-r--r--source4/lib/ldb/tools/ldbtest.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/ldbmodify.c b/source4/lib/ldb/tools/ldbmodify.c
index 39725b195d..8fa0dcf0b6 100644
--- a/source4/lib/ldb/tools/ldbmodify.c
+++ b/source4/lib/ldb/tools/ldbmodify.c
@@ -93,7 +93,7 @@ static int process_file(struct ldb_context *ldb, FILE *f)
{
struct ldb_context *ldb;
int count=0;
- int i, ret;
+ int i;
struct ldb_cmdline *options;
ldb = ldb_init(NULL);
diff --git a/source4/lib/ldb/tools/ldbtest.c b/source4/lib/ldb/tools/ldbtest.c
index 28ac7545a4..7c7164c785 100644
--- a/source4/lib/ldb/tools/ldbtest.c
+++ b/source4/lib/ldb/tools/ldbtest.c
@@ -353,7 +353,6 @@ static void usage(void)
{
TALLOC_CTX *mem_ctx = talloc_new(NULL);
struct ldb_context *ldb;
- int ret;
ldb = ldb_init(mem_ctx);