1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib: Fix CID 1373389 Uninitialized scalar variable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Volker Lendecke 2016-09-27 09:28:33 -07:00
parent 78009659b9
commit d4884b54ff

View File

@ -293,7 +293,7 @@ static WERROR rpc_set_value(struct registry_key *key, const char *value_name,
struct winreg_String name;
NTSTATUS status;
name.name = value_name;
name = (struct winreg_String) { .name = value_name };
ZERO_STRUCT(r);
r.in.handle = &mykeydata->pol;