git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Fix CID 1373388 Uninitialized scalar variable
[bbaumbach/samba-autobuild/.git]
/
source4
/
lib
/
registry
/
rpc.c
diff --git
a/source4/lib/registry/rpc.c
b/source4/lib/registry/rpc.c
index d4578480bad48db8f18f78206ebd723a7be00de5..2f6edf3b56981048a0f75e14c3c9990e8a81b2a5 100644
(file)
--- a/
source4/lib/registry/rpc.c
+++ b/
source4/lib/registry/rpc.c
@@
-319,7
+319,7
@@
static WERROR rpc_del_value(TALLOC_CTX *mem_ctx, struct registry_key *key,
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;