Pure function's return value is discarded, making the call pointless
SCC-SA4017
Anti-pattern
Major
2
Unused code
SCC-U1000
Bug risk
Major
1
Redundant statements can be removed
RVV-A0010
Anti-pattern
Major
1
Bad usage of tests and examples
VET-V0017
Bug risk
Major
2
Incorrectly formatted error string
SCC-ST1005
Style
Minor
13
switch
with single case can be rewritten as if
or if-else
CRT-A0014
Anti-pattern
Minor
1
Confusing naming of struct fields or methods
RVV-B0001
Bug risk
Minor
3
Types of function parameters can be combined
CRT-A0017
Style
Minor
2