Suppress 1 cppcheck warning arrayIndexOutOfBounds
See http://nabble.documentfoundation.org/cppcheck-arrayIndexOutOfBounds-report-in-stortree-cxx-store-module-td4136432.html Change-Id: I365befacf7d10bcbf0a159cfdcabd3eb1644d02b
This commit is contained in:
@@ -49,7 +49,10 @@ OStoreBTreeNodeData::OStoreBTreeNodeData (sal_uInt16 nPageSize)
|
|||||||
T const t;
|
T const t;
|
||||||
|
|
||||||
for (sal_uInt16 i = 1; i < n; i++)
|
for (sal_uInt16 i = 1; i < n; i++)
|
||||||
|
{
|
||||||
|
// cppcheck-suppress arrayIndexOutOfBounds
|
||||||
m_pData[i] = t;
|
m_pData[i] = t;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user