2022-01-24 07:00:14 +00:00
|
|
|
// cppcheck suppressions
|
|
|
|
assertWithSideEffect
|
|
|
|
|
|
|
|
// TODO: need to come back to these
|
|
|
|
duplInheritedMember
|
|
|
|
|
2022-01-24 18:39:17 +00:00
|
|
|
// TODO:
|
|
|
|
// "Using memset() on struct which contains a floating point number."
|
|
|
|
// tried:
|
|
|
|
// if (std::is_floating_point<T>::value) {
|
|
|
|
// p = 0;
|
|
|
|
// in src/mesh/MemoryPool.h
|
|
|
|
memsetClassFloat
|
|
|
|
|
2022-01-24 19:58:07 +00:00
|
|
|
knownConditionTrueFalse
|
|
|
|
|
2022-01-24 17:24:40 +00:00
|
|
|
// no real downside/harm in these
|
|
|
|
unusedFunction
|
|
|
|
unusedPrivateFunction
|
|
|
|
|
2022-01-24 07:00:14 +00:00
|
|
|
// most likely due to a cppcheck configuration issue (like missing an include)
|
|
|
|
syntaxError
|
|
|
|
|
2022-01-24 19:58:07 +00:00
|
|
|
// try to quiet a few
|
|
|
|
//useInitializationList:src/main.cpp
|
|
|
|
useInitializationList
|
|
|
|
|
|
|
|
//unreadVariable:src/graphics/Screen.cpp
|
|
|
|
unreadVariable
|
|
|
|
|
2023-08-12 14:29:19 +00:00
|
|
|
// I don't want to go back and cast function pointers just to appease a tools insatiable thirst for immutability
|
|
|
|
constParameterCallback
|
|
|
|
|
2022-01-24 19:58:07 +00:00
|
|
|
redundantInitialization
|
|
|
|
|
|
|
|
//cstyleCast:src/mesh/MemoryPool.h:71
|
|
|
|
cstyleCast
|
|
|
|
|
2022-01-24 07:00:14 +00:00
|
|
|
// ignore stuff that is not ours
|
|
|
|
*:.pio/*
|
|
|
|
*:*/libdeps/*
|
2023-05-24 00:44:30 +00:00
|
|
|
*:*/generated/*
|
2022-11-22 14:56:13 +00:00
|
|
|
noExplicitConstructor:*/mqtt/*
|
|
|
|
postfixOperator:*/mqtt/*
|
2022-03-03 04:27:49 +00:00
|
|
|
|
|
|
|
// these two caused issues
|
|
|
|
missingOverride
|
|
|
|
virtualCallInConstructor
|
2022-11-22 14:56:13 +00:00
|
|
|
|
2023-02-07 00:30:55 +00:00
|
|
|
passedByValue:*/RedirectablePrint.h
|
2023-05-24 00:44:30 +00:00
|
|
|
|
2023-12-12 14:36:37 +00:00
|
|
|
internalAstError:*/CrossPlatformCryptoEngine.cpp
|
2023-12-14 13:35:46 +00:00
|
|
|
uninitMemberVar:*/AudioThread.h
|
|
|
|
// False positive
|
|
|
|
constVariableReference:*/Channels.cpp
|
|
|
|
constParameterPointer:*/unishox2.c
|