From 7dd8a3283a0d9002b62a5f3cf28e99fe8270afc0 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Sat, 19 Feb 2011 20:09:07 -0500 Subject: [PATCH] fix comment in CheckClass::initializeVarList --- lib/checkclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index 0a90fbcf0..5fdd341a7 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -869,7 +869,7 @@ void CheckClass::checkReturnPtrThis(const Scope *scope, const Function *func, co } } - // check of *this is returned + // check if *this is returned else if (!(Token::Match(tok->tokAt(1), "(| * this ;|=") || Token::Match(tok->tokAt(1), "(| * this +=") || Token::simpleMatch(tok->tokAt(1), "operator= (") ||