This commit is contained in:
Lucas Manuel Rodriguez 2014-02-09 16:46:49 -03:00
parent b5cbe784f3
commit 828609bb11
2 changed files with 2 additions and 12 deletions

View File

@ -2041,12 +2041,6 @@ void CheckBufferOverrun::negativeIndex()
} }
} }
/// @addtogroup Checks
/// @{
CheckBufferOverrun::ArrayInfo::ArrayInfo() CheckBufferOverrun::ArrayInfo::ArrayInfo()
: _element_size(0), _declarationId(0) : _element_size(0), _declarationId(0)
{ {
@ -2186,5 +2180,4 @@ void CheckBufferOverrun::writeOutsideBufferSizeError(const Token *tok, const std
"The number of bytes to write (" + MathLib::toString(writeLength) + " bytes) are bigger than the source buffer (" +MathLib::toString(stringLength)+ " bytes)." "The number of bytes to write (" + MathLib::toString(writeLength) + " bytes) are bigger than the source buffer (" +MathLib::toString(stringLength)+ " bytes)."
" Please check the second and the third parameter of the function '"+strFunctionName+"'."); " Please check the second and the third parameter of the function '"+strFunctionName+"'.");
} }
// -------------------------------------------------------------------------------------
// -------------------------------------------------------------------------------------

View File

@ -1038,10 +1038,6 @@ void CheckNullPointer::nullPointerDefaultArgument()
} }
} }
/// @addtogroup Checks
/// @{
void CheckNullPointer::nullPointerError(const Token *tok) void CheckNullPointer::nullPointerError(const Token *tok)
{ {
reportError(tok, Severity::error, "nullPointer", "Null pointer dereference"); reportError(tok, Severity::error, "nullPointer", "Null pointer dereference");
@ -1065,3 +1061,4 @@ void CheckNullPointer::nullPointerDefaultArgError(const Token *tok, const std::s
{ {
reportError(tok, Severity::warning, "nullPointer", "Possible null pointer dereference if the default parameter value is used: " + varname); reportError(tok, Severity::warning, "nullPointer", "Possible null pointer dereference if the default parameter value is used: " + varname);
} }