🚨 suppress missingReturn warnings

This commit is contained in:
Niels Lohmann 2021-07-10 13:44:13 +02:00
parent a82f66beed
commit 7442c24662
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -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"
)