CheckOther: updated CheckOther::getErrorMessages
This commit is contained in:
parent
6c19ea7b53
commit
1ef09147f3
|
@ -240,7 +240,7 @@ public:
|
||||||
fflushOnInputStreamError(0, "stdin");
|
fflushOnInputStreamError(0, "stdin");
|
||||||
misusedScopeObjectError(NULL, "varname");
|
misusedScopeObjectError(NULL, "varname");
|
||||||
|
|
||||||
// style
|
// style/warning
|
||||||
cstyleCastError(0);
|
cstyleCastError(0);
|
||||||
dangerousUsageStrtolError(0);
|
dangerousUsageStrtolError(0);
|
||||||
unusedStructMemberError(0, "structname", "variable");
|
unusedStructMemberError(0, "structname", "variable");
|
||||||
|
@ -258,7 +258,11 @@ public:
|
||||||
assignmentInAssertError(0, "varname");
|
assignmentInAssertError(0, "varname");
|
||||||
invalidScanfError(0);
|
invalidScanfError(0);
|
||||||
incorrectLogicOperatorError(0);
|
incorrectLogicOperatorError(0);
|
||||||
|
unusedVariableError(0, "varname");
|
||||||
|
unreadVariableError(0, "varname");
|
||||||
|
unassignedVariableError(0, "varname");
|
||||||
|
|
||||||
|
// performance
|
||||||
emptyStringTestError(0, "varname", true);
|
emptyStringTestError(0, "varname", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue