1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:samdb: Make sure value is initialized with 0

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
This commit is contained in:
Andreas Schneider 2019-04-30 16:23:17 +02:00 committed by Andrew Bartlett
parent 62ba14a41b
commit 2a5bf72b00

View 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);