ldb:ldb_pack.c - remove superflous "message->elements = NULL"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 20 Oct 2010 11:47:48 +0000 (13:47 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 20 Oct 2010 12:31:05 +0000 (12:31 +0000)
It's already marked at this at the beginning of the call.

source4/lib/ldb/ldb_tdb/ldb_pack.c

index e7aeb47e72d8bf4d627092004786a8848d44ff26..396b80ae4504c59a04a3f31e19641f98d6578d37 100644 (file)
@@ -208,7 +208,6 @@ int ltdb_unpack_data(struct ldb_module *module,
        }
 
        if (message->num_elements == 0) {
-               message->elements = NULL;
                return 0;
        }