From 5e996bc63b19bd7fb807c1049addc70fbc9c91f7 Mon Sep 17 00:00:00 2001 From: Massimo Paladin Date: Wed, 7 May 2014 14:54:50 +0200 Subject: [PATCH] Fix redundantConditionError check description --- lib/checkother.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkother.h b/lib/checkother.h index 18f6081a5..32c74a2bb 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -375,7 +375,7 @@ private: c.suspiciousEqualityComparisonError(0); c.selfAssignmentError(0, "varname"); c.incorrectLogicOperatorError(0, "foo > 3 && foo < 4", true); - c.redundantConditionError(0, "If x > 10 the condition x > 11 is always true."); + c.redundantConditionError(0, "If x > 11 the condition x > 10 is always true."); c.memsetZeroBytesError(0, "varname"); c.memsetFloatError(0, "varname"); c.memsetValueOutOfRangeError(0, "varname");