refactoring: cleanup old code

This commit is contained in:
Daniel Marjamäki 2009-01-12 16:53:14 +00:00
parent 17d4c2b980
commit e70f68f266
1 changed files with 0 additions and 3 deletions

View File

@ -631,9 +631,6 @@ void CheckClass::noMemset()
if (Token::Match(tstruct, "std :: %type% %var% ;"))
{
_errorLogger->reportErr(ErrorMessage::memsetStruct(_tokenizer, tok, tok->str(), tstruct->strAt(2)));
std::ostringstream ostr;
ostr << _tokenizer->fileLine(tok) << ": Using '" << tok->str() << "' on struct that contains a 'std::" << tstruct->strAt(2) << "'";
_errorLogger->reportErr(ostr.str());
break;
}
}