Kaydet (Commit) 835b6e21 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-analyzer-deadcode.DeadStores

Change-Id: Ia6bd32061e2ea826aa550a3da17d4147158ce7f8
üst f9e5b678
...@@ -218,7 +218,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm ...@@ -218,7 +218,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm
case sal_Unicode('('): case sal_Unicode('('):
if (key_count > 0) { if (key_count > 0) {
sal_Int16 end = i+1; sal_Int16 end = i+1;
for (end=i+1; end < len && keyStr[end] != close; end++) ; for (; end < len && keyStr[end] != close; end++) ;
if (end >= len) // no found if (end >= len) // no found
throw RuntimeException(); throw RuntimeException();
......
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