]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: delete MSVC warning suppression for tests/server
authorViktor Szakats <commit@vsz.me>
Tue, 6 Aug 2024 22:56:39 +0000 (00:56 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 7 Aug 2024 09:35:16 +0000 (11:35 +0200)
Server code no longer produces this warning.

Closes #14428

tests/server/CMakeLists.txt

index b46c23085e24b8659890f20228068bd7de04ac97..3a51c5b069d226fc381ce4316f8bac98b2c6c5db 100644 (file)
 ###########################################################################
 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})