From ddcb89ccfc0d01bbd9a2b999833a5b095a13852d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 10 Dec 2004 22:35:35 +0000 Subject: r4138: initialise 'type' in RPC-WINREG EnumValue test (This used to be commit 952a26c561846def21d3d2f4d36cbe79a54f9eff) --- source4/torture/rpc/winreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc') 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; -- cgit