From e70f68f26655b475376f16f79c9b30e0447b3ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 12 Jan 2009 16:53:14 +0000 Subject: [PATCH] refactoring: cleanup old code --- src/checkclass.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/checkclass.cpp b/src/checkclass.cpp index b123ec291..0b333670b 100644 --- a/src/checkclass.cpp +++ b/src/checkclass.cpp @@ -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; } }