diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 10:53:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 11:32:44 +0200 |
commit | 835b6e21b8cb9f1af1e8f92dfeb379bb7cf04d9e (patch) | |
tree | 1781f5f99661d74e31309521d3ef68259dd627ca /i18npool/source/indexentry/indexentrysupplier_default.cxx | |
parent | f9e5b678ec02aaf62b73518b69b881ab1666937e (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: Ia6bd32061e2ea826aa550a3da17d4147158ce7f8
Diffstat (limited to 'i18npool/source/indexentry/indexentrysupplier_default.cxx')
-rw-r--r-- | i18npool/source/indexentry/indexentrysupplier_default.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 69f5aeb48c6d..871a4923362a 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -218,7 +218,7 @@ void Index::makeIndexKeys(const lang::Locale &rLocale, const OUString &algorithm case sal_Unicode('('): if (key_count > 0) { 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 throw RuntimeException(); |