ldb/tests: avoid 'return void_function();' which isn't portable
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Mar 2018 06:33:16 +0000 (07:33 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 3 Apr 2018 14:41:09 +0000 (16:41 +0200)
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>
lib/ldb/tests/ldb_mod_op_test.c

index b91130252a7614063267347140149d702a6d3814..d024ab66e3e9a6fc293a1c6c408f0bb9e4ce6adb 100644 (file)
@@ -1954,22 +1954,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);
 }
 
 /*