diff --git a/lib/checkassignif.h b/lib/checkassignif.h index 136014e66..5ae9dfc1d 100644 --- a/lib/checkassignif.h +++ b/lib/checkassignif.h @@ -74,14 +74,14 @@ private: } std::string myName() const { - return "match assignments and conditions"; + return "Match assignments and conditions"; } std::string classInfo() const { return "Match assignments and conditions:\n" - " * Mismatching assignment and comparison => comparison is always true/false\n" - " * Mismatching lhs and rhs in comparison => comparison is always true/false\n" - " * Detect matching 'if' and 'else if' conditions"; + "* Mismatching assignment and comparison => comparison is always true/false\n" + "* Mismatching lhs and rhs in comparison => comparison is always true/false\n" + "* Detect matching 'if' and 'else if' conditions"; } }; /// @} diff --git a/lib/checkother.h b/lib/checkother.h index 5b248a6dd..8dcd03133 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -342,7 +342,7 @@ public: return "Other checks\n" // error - "* Assigning bool value to pointer (converting bool value to address)" + "* Assigning bool value to pointer (converting bool value to address)\n" "* [[OverlappingData|bad usage of the function 'sprintf' (overlapping data)]]\n" "* division with zero\n" "* using fflush() on an input stream\n"