From 746c99be28fc596bdec686db836bfa94f1a7958a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 8 Jun 2007 16:46:51 +0000 Subject: [PATCH] Modified comments --- CheckMemoryLeak.cpp | 6 ++++++ CheckOther.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CheckMemoryLeak.cpp b/CheckMemoryLeak.cpp index 1e5b719f4..64ca2028f 100644 --- a/CheckMemoryLeak.cpp +++ b/CheckMemoryLeak.cpp @@ -22,6 +22,12 @@ struct _variable //--------------------------------------------------------------------------- + + +//--------------------------------------------------------------------------- +// Checks for memory leaks.. +//--------------------------------------------------------------------------- + void CheckMemoryLeak() { std::vector<_variable *> varlist; diff --git a/CheckOther.cpp b/CheckOther.cpp index 5225a6952..944ee0651 100644 --- a/CheckOther.cpp +++ b/CheckOther.cpp @@ -158,7 +158,7 @@ void WarningRedundantCode() //--------------------------------------------------------------------------- -// if (condition); +// if (condition) .... //--------------------------------------------------------------------------- void WarningIf()