Updated warning message. Shorter and simpler

This commit is contained in:
Daniel Marjamäki 2007-05-08 15:58:02 +00:00
parent c3474c4ef9
commit 6c585cf11d
1 changed files with 1 additions and 1 deletions

View File

@ -1098,7 +1098,7 @@ void WarningRedundantCode()
if (err)
{
std::ostringstream ostr;
ostr << FileLine(tok) << ": Redundant condition. It is allowed to deallocate a NULL pointer, so it is safe to remove the 'if(..)'.";
ostr << FileLine(tok) << ": Redundant condition. It is safe to deallocate a NULL pointer";
ReportErr(ostr.str());
}
}