From 28209f841b9a7ce8837b7fd75b9ffc463a9c4df1 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 2 Jan 2025 18:03:17 +0100 Subject: [PATCH] CMake: disable MSVC unreferenced formal parameter warnings There's no way to explicitly say the code is OK. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8eb97ce2..3c8e208e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ if(DEV_MODE) -W4 -we4013 # undefined; assuming extern returning int -we4005 # macro redefinition + -wd4100 # unreferenced formal parameter ) endif()