summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-03-21 07:33:16 +0100
committerKarolin Seeger <kseeger@samba.org>2018-04-20 11:56:23 +0200
commit74da4c879a1db1bd9ebac9df9bcfee00fa762015 (patch)
tree9b1189623b56f54976c48e96a2ffa1225c16dbd9 /lib
parent8c0a598b035295713ce0c2c0df444ac01b336b68 (diff)
downloadsamba-74da4c879a1db1bd9ebac9df9bcfee00fa762015.tar.gz
ldb/tests: avoid 'return void_function();' which isn't portable
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13343 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Björn Jacke <bjacke@samba.org> (cherry picked from commit 666dda907b7f190b2dff1f2639bd2518240b9fb2)
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/tests/ldb_mod_op_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ldb/tests/ldb_mod_op_test.c b/lib/ldb/tests/ldb_mod_op_test.c
index 766ca798335..0f8642d00a9 100644
--- a/lib/ldb/tests/ldb_mod_op_test.c
+++ b/lib/ldb/tests/ldb_mod_op_test.c
@@ -1914,22 +1914,22 @@ static void test_ldb_modify_during_search(void **state, bool add_index,
static void test_ldb_modify_during_indexed_search(void **state)
{
- return test_ldb_modify_during_search(state, true, false);
+ test_ldb_modify_during_search(state, true, false);
}
static void test_ldb_modify_during_unindexed_search(void **state)
{
- return test_ldb_modify_during_search(state, false, false);
+ test_ldb_modify_during_search(state, false, false);
}
static void test_ldb_rename_during_indexed_search(void **state)
{
- return test_ldb_modify_during_search(state, true, true);
+ test_ldb_modify_during_search(state, true, true);
}
static void test_ldb_rename_during_unindexed_search(void **state)
{
- return test_ldb_modify_during_search(state, false, true);
+ test_ldb_modify_during_search(state, false, true);
}
/*