summaryrefslogtreecommitdiff
path: root/source4/torture/basic
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/basic
parent7fb9087e64949ffb0d5e7ed0e28c6719c3fd294f (diff)
downloadsamba-87b887f48fdd3d33376c4fdea7d6ef998f484f74.tar.gz
s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/base.c2
-rw-r--r--source4/torture/basic/misc.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index d5090e9c1fc..995357302ba 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 72232729841..c5902374eb6 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;
}
/*