From 1277e83f542cb9a46b9d9d1c726f46b738730206 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 10 Feb 2004 20:49:59 +0000 Subject: fixed a couple of uninitialised returns spotted by valgrind (This used to be commit ccce61287de07684159e2de990773f4098e07652) --- source4/torture/rpc/samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index fccae8412c..7970e67cef 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -524,7 +524,7 @@ static BOOL test_DeleteAlias(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, { struct samr_DeleteDomAlias d; NTSTATUS status; - BOOL ret; + BOOL ret = True; printf("Testing DeleteAlias\n"); d.in.handle = alias_handle; @@ -658,7 +658,7 @@ static BOOL test_DeleteUser(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, { struct samr_DeleteUser d; NTSTATUS status; - BOOL ret; + BOOL ret = True; printf("Testing DeleteUser\n"); -- cgit