From ae5351696f67619d18c101b54682ef849e9c94c4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 8 Oct 2024 13:16:16 +0200 Subject: [PATCH] cmake: tidy up detection C code Closes #15195 --- CMake/CurlTests.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c index 5797586541..3fc3c86ba8 100644 --- a/CMake/CurlTests.c +++ b/CMake/CurlTests.c @@ -50,6 +50,7 @@ int main(void) int flags = 0; if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) return 1; + ; return 0; } #endif @@ -159,7 +160,7 @@ int main(void) { return 0; } int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; -int main(void) { ; return 0; } +int main(void) { return 0; } #endif #ifdef HAVE_IOCTLSOCKET -- 2.47.3