CppCheck cleanup (#975)
* Add support for inline cppcheck suppressions * Clean out all known cppcheck issues * Terminate toll-gate on found cppcheck issues
This commit is contained in:
committed by
Thomas Mørch
parent
e2ac85afbb
commit
2d5404de97
@@ -940,6 +940,8 @@ void transportProcessMessage(void)
|
||||
|
||||
void transportInvokeSanityCheck(void)
|
||||
{
|
||||
// Suppress this because the function may return a variable value in some configurations
|
||||
// cppcheck-suppress knownConditionTrueFalse
|
||||
if (!transportSanityCheck()) {
|
||||
TRANSPORT_DEBUG(PSTR("!TSF:SAN:FAIL\n")); // sanity check fail
|
||||
transportSwitchSM(stFailure);
|
||||
|
||||
Reference in New Issue
Block a user