Kaydet (Commit) 4bdd6e8f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Do not call SAL_N_ELEMENTS on empty array

Change-Id: I8b73c61a9662079927344029eb9872c6a19aad76
üst a93cfd5a
......@@ -2569,6 +2569,7 @@ void Test::testComplex() {
}
void Test::testComplexCut() {
#if WITH_LOCALE_ALL || WITH_LOCALE_ja || WITH_LOCALE_zh
static ComplexCharSetTest const data[]
= {
#if WITH_LOCALE_ALL || WITH_LOCALE_ja
......@@ -2660,6 +2661,7 @@ void Test::testComplexCut() {
for (std::size_t i = 0; i < SAL_N_ELEMENTS(data); ++i) {
doComplexCharSetCutTest(data[i]);
}
#endif
}
void Test::testSRCBUFFERTOSMALL() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment