mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 10:17:23 +00:00
ICU-4773 fix some compiler warnings
X-SVN-Rev: 18594
This commit is contained in:
parent
f4c3b75a4d
commit
f7ac819c75
2 changed files with 5 additions and 5 deletions
icu4c/source/common
|
@ -146,7 +146,7 @@ void RBBITableBuilder::build() {
|
|||
// BOF (start of input) test fixup.
|
||||
//
|
||||
if (fRB->fSetBuilder->sawBOF()) {
|
||||
bofFixup(fTree);
|
||||
bofFixup();
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -457,7 +457,7 @@ void RBBITableBuilder::calcChainedFollowPos(RBBINode *tree) {
|
|||
// This function has much in common with calcChainedFollowPos().
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
void RBBITableBuilder::bofFixup(RBBINode *tree) {
|
||||
void RBBITableBuilder::bofFixup() {
|
||||
|
||||
if (U_FAILURE(*fStatus)) {
|
||||
return;
|
||||
|
@ -465,9 +465,9 @@ void RBBITableBuilder::bofFixup(RBBINode *tree) {
|
|||
|
||||
// The parse tree looks like this ...
|
||||
// fTree root ---> <cat>
|
||||
// / \
|
||||
// / \ .
|
||||
// <cat> <#end node>
|
||||
// / \
|
||||
// / \ .
|
||||
// <bofNode> rest
|
||||
// of tree
|
||||
//
|
||||
|
|
|
@ -51,7 +51,7 @@ private:
|
|||
void calcLastPos(RBBINode *n);
|
||||
void calcFollowPos(RBBINode *n);
|
||||
void calcChainedFollowPos(RBBINode *n);
|
||||
void bofFixup(RBBINode *n);
|
||||
void bofFixup();
|
||||
void buildStateTable();
|
||||
void flagAcceptingStates();
|
||||
void flagLookAheadStates();
|
||||
|
|
Loading…
Add table
Reference in a new issue