summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:45:33 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-29 14:48:12 +0100
commit87b887f48fdd3d33376c4fdea7d6ef998f484f74 (patch)
tree522939a40fba86643de332b943cddcec0a282279 /source4/torture/raw
parent7fb9087e64949ffb0d5e7ed0e28c6719c3fd294f (diff)
downloadsamba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.tar.gz
samba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.tar.bz2
samba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.zip
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/pingpong.c3
-rw-r--r--source4/torture/raw/tconrate.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/source4/torture/raw/pingpong.c b/source4/torture/raw/pingpong.c
index 124cf69b64..f9c551e9b9 100644
--- a/source4/torture/raw/pingpong.c
+++ b/source4/torture/raw/pingpong.c
@@ -243,8 +243,5 @@ bool torture_ping_pong(struct torture_context *torture)
}
loops++;
}
-
- talloc_free(mem_ctx);
- return true;
}
diff --git a/source4/torture/raw/tconrate.c b/source4/torture/raw/tconrate.c
index 7202943969..b7ec15698d 100644
--- a/source4/torture/raw/tconrate.c
+++ b/source4/torture/raw/tconrate.c
@@ -135,9 +135,6 @@ static bool children_remain(void)
return errno == ECHILD ? false : true;
}
}
-
- /* notreached */
- return false;
}
static double rate_convert_secs(unsigned count,