From 1ef09147f3c6d3e536cca6b35c2145d3ef21b5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 31 Oct 2010 10:07:35 +0100 Subject: [PATCH] CheckOther: updated CheckOther::getErrorMessages --- lib/checkother.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/checkother.h b/lib/checkother.h index 4f386fe1a..53aa7a6cb 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -240,7 +240,7 @@ public: fflushOnInputStreamError(0, "stdin"); misusedScopeObjectError(NULL, "varname"); - // style + // style/warning cstyleCastError(0); dangerousUsageStrtolError(0); unusedStructMemberError(0, "structname", "variable"); @@ -258,7 +258,11 @@ public: assignmentInAssertError(0, "varname"); invalidScanfError(0); incorrectLogicOperatorError(0); + unusedVariableError(0, "varname"); + unreadVariableError(0, "varname"); + unassignedVariableError(0, "varname"); + // performance emptyStringTestError(0, "varname", true); }