libcli: Solaris cc can't return void values
authorVolker Lendecke <vl@samba.org>
Thu, 24 Jan 2019 09:38:41 +0000 (10:38 +0100)
committerJeremy Allison <jra@samba.org>
Sun, 3 Feb 2019 12:52:29 +0000 (13:52 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/auth/tests/ntlm_check.c

index 65c7b086008cebf6e17c9f738c4f60248515a882..886a1a342f847812e4fb59783eb360427ca4f03d 100644 (file)
@@ -180,7 +180,7 @@ static void test_ntlm_allowed(void **state)
 
 static void test_ntlm_allowed_lm_supplied(void **state)
 {
-       return test_ntlm_allowed(state);
+       test_ntlm_allowed(state);
 }
 
 static void test_ntlm_disabled(void **state)
@@ -345,7 +345,7 @@ static void test_ntlmv2_only_ntlm(void **state)
 
 static void test_ntlmv2_only_ntlm_and_lanman(void **state)
 {
-       return test_ntlmv2_only_ntlm(state);
+       test_ntlmv2_only_ntlm(state);
 }
 
 static void test_ntlmv2_only_ntlm_once(void **state)