From: Viktor Szakats Date: Tue, 8 Oct 2024 11:16:16 +0000 (+0200) Subject: cmake: tidy up detection C code X-Git-Tag: curl-8_11_0~186 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae5351696f67619d18c101b54682ef849e9c94c4;p=thirdparty%2Fcurl.git cmake: tidy up detection C code Closes #15195 --- 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