From e5cb301a8cc1272542772715ee9c603a44057b24 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 14 Apr 2010 09:26:09 -0400 Subject: Fix warning in sysdb-tests.c When we converted to the synchronous sysdb interface, the synchronous-simulating function test_loop() became unnecessary, but we forgot to remove it. --- src/tests/sysdb-tests.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/tests') diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index 3b3816cb0..360609449 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -180,14 +180,6 @@ struct test_data { struct ldb_message **msgs; }; -static int test_loop(struct test_data *data) -{ - while (!data->finished) - tevent_loop_once(data->ctx->ev); - - return data->error; -} - static int test_add_user(struct test_data *data) { char *homedir; -- cgit