summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-20 13:47:48 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-20 12:31:05 +0000
commit1427895531c259f4bb6c561972b79051807c2a4d (patch)
treee921f6c788bf9a79a6f138e0c49c9fbccdaf940a /source4/lib/ldb/ldb_tdb
parentcaf6b3686fb7f18b17e0b89f519f216ac98df3be (diff)
downloadsamba-1427895531c259f4bb6c561972b79051807c2a4d.tar.gz
samba-1427895531c259f4bb6c561972b79051807c2a4d.tar.bz2
samba-1427895531c259f4bb6c561972b79051807c2a4d.zip
ldb:ldb_pack.c - remove superflous "message->elements = NULL"
It's already marked at this at the beginning of the call.
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_pack.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_pack.c b/source4/lib/ldb/ldb_tdb/ldb_pack.c
index e7aeb47e72..396b80ae45 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_pack.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_pack.c
@@ -208,7 +208,6 @@ int ltdb_unpack_data(struct ldb_module *module,
}
if (message->num_elements == 0) {
- message->elements = NULL;
return 0;
}