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:
parent
78009659b9
commit
d4884b54ff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user