summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-06 17:51:00 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-06 21:54:21 +0200
commit502bddf7676b8061a877e7c83b647a64963c3efe (patch)
tree95b4c77bd02a4b5df650934a682cbd4bd2e72f47 /source4
parentb03040c5a903e24a8216b9245f2925eb2205cd67 (diff)
downloadsamba-502bddf7676b8061a877e7c83b647a64963c3efe.tar.gz
samba-502bddf7676b8061a877e7c83b647a64963c3efe.tar.bz2
samba-502bddf7676b8061a877e7c83b647a64963c3efe.zip
s4:new_partition LDB module - fix an uninitalised variable warning
> [ 651/1946] Compiling dsdb/samdb/ldb_modules/new_partition.c > ../dsdb/samdb/ldb_modules/new_partition.c: In function 'new_partition_add': > ../dsdb/samdb/ldb_modules/new_partition.c:195: warning: 'down_req' may be used uninitialized in this function The "down_req" variable isn't used anymore.
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/new_partition.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/new_partition.c b/source4/dsdb/samdb/ldb_modules/new_partition.c
index 63c9200775..a6102d6a6f 100644
--- a/source4/dsdb/samdb/ldb_modules/new_partition.c
+++ b/source4/dsdb/samdb/ldb_modules/new_partition.c
@@ -135,7 +135,6 @@ static int np_part_search_callback(struct ldb_request *req, struct ldb_reply *ar
static int new_partition_add(struct ldb_module *module, struct ldb_request *req)
{
struct ldb_context *ldb;
- struct ldb_request *down_req;
struct np_context *ac;
int ret;
@@ -192,7 +191,7 @@ static int new_partition_add(struct ldb_module *module, struct ldb_request *req)
}
/* go on with the call chain */
- return ldb_next_request(module, down_req);
+ return ldb_next_request(module, req);
}
_PUBLIC_ const struct ldb_module_ops ldb_new_partition_module_ops = {