From 5f4c882b0884f29e3eaa6a40bcaf2e85212a8b0c Mon Sep 17 00:00:00 2001 From: Daniel Marjamaki Date: Thu, 27 Oct 2011 10:50:40 +0200 Subject: [PATCH] minor formatting updates of --doc output --- lib/checkassignif.h | 8 ++++---- lib/checkother.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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"