summaryrefslogtreecommitdiff
path: root/source4
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
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')
-rw-r--r--source4/torture/basic/base.c2
-rw-r--r--source4/torture/basic/misc.c2
-rw-r--r--source4/torture/raw/pingpong.c3
-rw-r--r--source4/torture/raw/tconrate.c3
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,