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
@@ -49,7 +49,11 @@ MyMessage _ethernetMsg;
|
||||
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
typedef struct {
|
||||
// Suppress the warning about unused members in this struct because it is used through a complex
|
||||
// set of preprocessor directives
|
||||
// cppcheck-suppress unusedStructMember
|
||||
char string[MY_GATEWAY_MAX_RECEIVE_LENGTH];
|
||||
// cppcheck-suppress unusedStructMember
|
||||
uint8_t idx;
|
||||
} inputBuffer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user