From 7442c24662dd97fbbf12077b1dfa1aa0da8258ea Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 10 Jul 2021 13:44:13 +0200 Subject: [PATCH] :rotating_light: suppress missingReturn warnings --- cmake/ci.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ci.cmake b/cmake/ci.cmake index d7d94b2bf..e2d175d41 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -560,7 +560,7 @@ add_custom_target(ci_clang_analyze ############################################################################### add_custom_target(ci_cppcheck - COMMAND ${CPPCHECK_TOOL} --enable=warning --inline-suppr --inconclusive --force --std=c++11 ${PROJECT_SOURCE_DIR}/single_include/nlohmann/json.hpp --error-exitcode=1 + COMMAND ${CPPCHECK_TOOL} --enable=warning --suppress=missingReturn --inline-suppr --inconclusive --force --std=c++11 ${PROJECT_SOURCE_DIR}/single_include/nlohmann/json.hpp --error-exitcode=1 COMMENT "Check code with Cppcheck" )