summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-10 22:35:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:30 -0500
commitddcb89ccfc0d01bbd9a2b999833a5b095a13852d (patch)
tree893c89fc3f80fda68f634073c7aeb19204508a2d
parenta9fa37d6187eb0d0a074fec2ecffe2915b701188 (diff)
downloadsamba-ddcb89ccfc0d01bbd9a2b999833a5b095a13852d.tar.gz
samba-ddcb89ccfc0d01bbd9a2b999833a5b095a13852d.tar.bz2
samba-ddcb89ccfc0d01bbd9a2b999833a5b095a13852d.zip
r4138: initialise 'type' in RPC-WINREG EnumValue test
(This used to be commit 952a26c561846def21d3d2f4d36cbe79a54f9eff)
-rw-r--r--source4/torture/rpc/winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index d500a89435..8f3e543fb5 100644
--- 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;