summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-04-14 09:26:09 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-14 12:15:54 -0400
commite5cb301a8cc1272542772715ee9c603a44057b24 (patch)
treeb947aa8d9afad3a92b0ff516a8e8f9e2f22644d3 /src
parent14828016e720b7c54595aa679b4f8df71326852e (diff)
downloadsssd-e5cb301a8cc1272542772715ee9c603a44057b24.tar.gz
sssd-e5cb301a8cc1272542772715ee9c603a44057b24.tar.bz2
sssd-e5cb301a8cc1272542772715ee9c603a44057b24.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/tests/sysdb-tests.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index 3b3816cb..36060944 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;