From: Viktor Szakats Date: Tue, 6 Aug 2024 22:56:39 +0000 (+0200) Subject: cmake: delete MSVC warning suppression for tests/server X-Git-Tag: curl-8_10_0~344 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=493c6d79eba4e5f7f4d2bd7fbcf210aa8abce44d;p=thirdparty%2Fcurl.git cmake: delete MSVC warning suppression for tests/server Server code no longer produces this warning. Closes #14428 --- diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt index b46c23085e..3a51c5b069 100644 --- a/tests/server/CMakeLists.txt +++ b/tests/server/CMakeLists.txt @@ -23,10 +23,6 @@ ########################################################################### set(TARGET_LABEL_PREFIX "Test server ") -if(MSVC) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4306") -endif() - function(setup_executable test_name) # ARGN are the files in the test add_executable(${test_name} EXCLUDE_FROM_ALL ${ARGN}) add_dependencies(testdeps ${test_name})