summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-02-10 20:49:59 +0000
committerAndrew Tridgell <tridge@samba.org>2004-02-10 20:49:59 +0000
commit1277e83f542cb9a46b9d9d1c726f46b738730206 (patch)
tree90c2558d5dc0629cd3e3d0f7734e587d7808efcb /source4/torture
parent6bee3fbd659a3ab9e1ace0a9e0c7227bdc59f3f8 (diff)
downloadsamba-1277e83f542cb9a46b9d9d1c726f46b738730206.tar.gz
samba-1277e83f542cb9a46b9d9d1c726f46b738730206.tar.bz2
samba-1277e83f542cb9a46b9d9d1c726f46b738730206.zip
fixed a couple of uninitialised returns spotted by valgrind
(This used to be commit ccce61287de07684159e2de990773f4098e07652)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c4
1 files changed, 2 insertions, 2 deletions
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");