diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-29 14:45:33 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-29 14:48:12 +0100 |
commit | 87b887f48fdd3d33376c4fdea7d6ef998f484f74 (patch) | |
tree | 522939a40fba86643de332b943cddcec0a282279 | |
parent | 7fb9087e64949ffb0d5e7ed0e28c6719c3fd294f (diff) | |
download | samba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.tar.gz samba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.tar.bz2 samba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.zip |
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
-rw-r--r-- | source4/torture/basic/base.c | 2 | ||||
-rw-r--r-- | source4/torture/basic/misc.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/pingpong.c | 3 | ||||
-rw-r--r-- | source4/torture/raw/tconrate.c | 3 |
4 files changed, 0 insertions, 10 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c index d5090e9c1f..995357302b 100644 --- a/source4/torture/basic/base.c +++ b/source4/torture/basic/base.c @@ -1360,8 +1360,6 @@ static bool run_iometer(struct torture_context *tctx, smbcli_errstr(cli->tree))); } } - - return true; } /** diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c index 7223272984..c5902374eb 100644 --- a/source4/torture/basic/misc.c +++ b/source4/torture/basic/misc.c @@ -289,8 +289,6 @@ bool torture_holdopen(struct torture_context *tctx, fflush(stdout); sleep(15); } - - return true; } /* 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, |