diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-01-19 22:45:02 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-01-19 22:46:16 +0100 |
commit | ac8fdc7dd4f8ff8d896402838323c65e12c03e7c (patch) | |
tree | b4a8b2e619c32c32686e4e9747f142336828bc94 /store | |
parent | 4500afcc1be7774b3c35ab69a20e36165ca5445a (diff) |
Suppress 1 cppcheck warning arrayIndexOutOfBounds
See http://nabble.documentfoundation.org/cppcheck-arrayIndexOutOfBounds-report-in-stortree-cxx-store-module-td4136432.html
Change-Id: I365befacf7d10bcbf0a159cfdcabd3eb1644d02b
Diffstat (limited to 'store')
-rw-r--r-- | store/source/stortree.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx index 5e96a6e4819a..a491aff81524 100644 --- a/store/source/stortree.cxx +++ b/store/source/stortree.cxx @@ -49,7 +49,10 @@ OStoreBTreeNodeData::OStoreBTreeNodeData (sal_uInt16 nPageSize) T const t; for (sal_uInt16 i = 1; i < n; i++) + { + // cppcheck-suppress arrayIndexOutOfBounds m_pData[i] = t; + } } /* |