summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-16 01:36:17 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-16 01:36:17 +0100
commit0e553a06ced50bcb947c13a711f59db9e7203eea (patch)
treed0478f51511efc260e3afd887a973d67298b95fa
parent12f64285ee09954cac447cf9c9fa241fd4b1e59e (diff)
downloadsamba-0e553a06ced50bcb947c13a711f59db9e7203eea.tar.gz
samba-0e553a06ced50bcb947c13a711f59db9e7203eea.tar.bz2
samba-0e553a06ced50bcb947c13a711f59db9e7203eea.zip
Remove unused init function in subunit code.
-rw-r--r--lib/README1
-rw-r--r--lib/torture/subunit.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/README b/lib/README
index b994447f4b..acae62c378 100644
--- a/lib/README
+++ b/lib/README
@@ -8,3 +8,4 @@ socket_wrapper - Wrapper library allowing TCP/IP traffic to be redirected
over Unix domain sockets.
talloc - Hierarchical pool based memory allocator
tdb - Simple but fast key/value database library, supporting multiple writers
+torture - Simple unit testing helper library
diff --git a/lib/torture/subunit.c b/lib/torture/subunit.c
index d5ee344596..832f11fafc 100644
--- a/lib/torture/subunit.c
+++ b/lib/torture/subunit.c
@@ -20,11 +20,6 @@
#include "includes.h"
#include "lib/torture/torture.h"
-static void subunit_init(struct torture_results *results)
-{
- /* FIXME: register segv and bus handler */
-}
-
static void subunit_suite_start(struct torture_context *ctx,
struct torture_suite *suite)
{
@@ -87,7 +82,6 @@ static void subunit_warning(struct torture_context *test,
}
const struct torture_ui_ops torture_subunit_ui_ops = {
- .init = subunit_init,
.comment = subunit_comment,
.warning = subunit_warning,
.test_start = subunit_test_start,