git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r4138: initialise 'type' in RPC-WINREG EnumValue test
[samba.git]
/
source4
/
torture
/
rpc
/
winreg.c
diff --git
a/source4/torture/rpc/winreg.c
b/source4/torture/rpc/winreg.c
index d500a89435fb3758bd62b7af0be52f786d4b4ea3..8f3e543fb59bd3b6c0c2a5cbe29ee4adf9decb34 100644
(file)
--- a/
source4/torture/rpc/winreg.c
+++ b/
source4/torture/rpc/winreg.c
@@
-322,7
+322,7
@@
static BOOL test_EnumValue(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct policy_handle *handle, int max_valnamelen, int max_valbufsize)
{
struct winreg_EnumValue r;
- uint32 type;
+ uint32 type
= 0
;
uint32 size = max_valbufsize, zero = 0;
BOOL ret = True;
uint8_t buf8;