s4:samdb: Make sure value is initialized with 0
authorAndreas Schneider <asn@samba.org>
Tue, 30 Apr 2019 14:23:17 +0000 (16:23 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 May 2019 05:02:22 +0000 (05:02 +0000)
Found by csbuild.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed May  1 05:02:22 UTC 2019 on sn-devel-184

source4/dsdb/samdb/ldb_modules/partition_metadata.c

index 250fecb..cf44c5d 100644 (file)
@@ -153,7 +153,7 @@ int partition_metadata_inc_schema_sequence(struct ldb_module *module)
 {
        struct partition_private_data *data;
        int ret;
-       uint64_t value;
+       uint64_t value = 0;
 
        data = talloc_get_type_abort(ldb_module_get_private(module),
                                    struct partition_private_data);