fixed a couple of uninitialised returns spotted by valgrind
authorAndrew Tridgell <tridge@samba.org>
Tue, 10 Feb 2004 20:49:59 +0000 (20:49 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 10 Feb 2004 20:49:59 +0000 (20:49 +0000)
(This used to be commit ccce61287de07684159e2de990773f4098e07652)

source4/torture/rpc/samr.c

index fccae8412c4d74242ccf0c94f771509051cc6444..7970e67cef9743a646cb8059f28fdda6268fc4bf 100644 (file)
@@ -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");