From 2f8dfa2df299485a0b564dc6d6c7a2cebc74c926 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Tue, 2 Aug 2005 00:25:54 +0000 Subject: [PATCH] ICU-4703 beam compile warning fixes X-SVN-Rev: 18377 --- icu4c/source/common/rbbi.cpp | 4 ---- icu4c/source/common/rbbiscan.cpp | 1 - 2 files changed, 5 deletions(-) diff --git a/icu4c/source/common/rbbi.cpp b/icu4c/source/common/rbbi.cpp index 7bb5752e8b..55618aa2fb 100644 --- a/icu4c/source/common/rbbi.cpp +++ b/icu4c/source/common/rbbi.cpp @@ -873,7 +873,6 @@ int32_t RuleBasedBreakIterator::handlePrevious(void) { int32_t state = START_STATE; int32_t category; - int32_t lastCategory = 0; int32_t result = fText->getIndex(); int32_t lookaheadStatus = 0; int32_t lookaheadResult = 0; @@ -899,9 +898,6 @@ int32_t RuleBasedBreakIterator::handlePrevious(void) { break; } - // save the last character's category and look up the current - // character's category - lastCategory = category; UTRIE_GET16(&fData->fTrie, c, category); // Check the dictionary bit in the character's category. diff --git a/icu4c/source/common/rbbiscan.cpp b/icu4c/source/common/rbbiscan.cpp index dd50ec5a94..321fd942d3 100644 --- a/icu4c/source/common/rbbiscan.cpp +++ b/icu4c/source/common/rbbiscan.cpp @@ -435,7 +435,6 @@ UBool RBBIRuleScanner::doParseActions(EParseAction action) fRB->fRules.extractBetween(n->fFirstPos, n->fLastPos, n->fText); break; } - break; case doSlash: // Scanned a '/', which identifies a look-ahead break position in a rule.