You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The light currently are not friend to cppcheck, this needs to be refactored. The current error are:
ERROR= <error id="unreachableCode" severity="style" msg="Statements following return, break, continue, goto or throw will never be executed." verbose="Statements following return, break, continue, goto or throw will never be executed." cwe="561">
<error id="unreachableCode" severity="style" msg="Statements following return, break, continue, goto or throw will never be executed." verbose="Statements following return, break, continue, goto or throw will never be executed." cwe="561">
<error id="unreachableCode" severity="style" msg="Statements following return, break, continue, goto or throw will never be executed." verbose="Statements following return, break, continue, goto or throw will never be executed." cwe="561">
<error id="variableScope" severity="style" msg="The scope of the variable 'pos' can be reduced." verbose="The scope of the variable 'pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
int i = 0;
if (x) {
// it's safe to move 'int i = 0;' here
for (int n = 0; n < 10; ++n) {
// it is possible but not safe to move 'int i = 0;' here
do_something(&i);
}
}
}
When you see this message it is always safe to reduce the variable scope 1 level." cwe="398">
<error id="ConfigurationNotChecked" severity="information" msg="Skipping configuration 'MIC_ANGLE_DEVIATION' since the value of 'MIC_ANGLE_DEVIATION' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly." verbose="Skipping configuration 'MIC_ANGLE_DEVIATION' since the value of 'MIC_ANGLE_DEVIATION' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.">
The light currently are not friend to cppcheck, this needs to be refactored. The current error are:
/cc @LanFly @legendecas
The text was updated successfully, but these errors were encountered: