From: Jelmer Vernooij Date: Sun, 16 Nov 2008 00:36:17 +0000 (+0100) Subject: Remove unused init function in subunit code. X-Git-Tag: samba-4.0.0alpha6~480^2~211 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e553a06ced50bcb947c13a711f59db9e7203eea;p=thirdparty%2Fsamba.git Remove unused init function in subunit code. --- diff --git a/lib/README b/lib/README index b994447f4b7..acae62c3787 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 d5ee344596f..832f11fafc3 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,