Fixed two doxygen errors - http://cppcheck.sourceforge.net/devinfo/doxygen-errors.txt
This commit is contained in:
parent
b5cbe784f3
commit
828609bb11
|
@ -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+"'.");
|
||||||
}
|
}
|
||||||
// -------------------------------------------------------------------------------------
|
|
||||||
// -------------------------------------------------------------------------------------
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue