From f16c927ab9083ac4d0ce38ec3b62ca8677055b90 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Thu, 12 Mar 2026 19:21:42 +1100 Subject: Fix compiler warnings during release builds as a result of missing assertions --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e4188a..a82394d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,15 +49,15 @@ target_compile_options(${LIBRARY_NAME} PRIVATE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS - # Things I like. -Wall -Wextra - -Wundef - -Wconversion - -Wdouble-promotion - -Wno-unused-parameter -Wno-unused-function -Wno-sign-conversion -Wno-missing-field-initializers + $<$>:-Wno-unused-variable -Wno-unused-but-set-variable> + + -Wundef + -Wconversion + -Wdouble-promotion ) \ No newline at end of file -- cgit v1.2.3