Skip to content

Commit

Permalink
FPRow: Remove three unused methods
Browse files Browse the repository at this point in the history
This fixes warnings from the Intel compiler:

    src/textord/cjkpitch.cpp(319): warning #177:
      function "<unnamed>::FPRow::good_gaps" was declared but never referenced
    src/textord/cjkpitch.cpp(383): warning #177:
      function "<unnamed>::FPRow::is_bad" was declared but never referenced
    src/textord/cjkpitch.cpp(387): warning #177:
      function "<unnamed>::FPRow::is_unknown" was declared but never referenced

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Dec 8, 2018
1 parent 404f9cd commit 81ab302
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/textord/cjkpitch.cpp
Expand Up @@ -309,10 +309,6 @@ class FPRow {
return good_pitches_.size();
}

int good_gaps() {
return good_gaps_.size();
}

float pitch() {
return pitch_;
}
Expand Down Expand Up @@ -373,14 +369,6 @@ class FPRow {
return characters_[i].alignment() == FPChar::ALIGN_GOOD;
}

bool is_bad(int i) {
return characters_[i].alignment() == FPChar::ALIGN_BAD;
}

bool is_unknown(int i) {
return characters_[i].alignment() == FPChar::ALIGN_UNKNOWN;
}

void mark_good(int i) {
characters_[i].set_alignment(FPChar::ALIGN_GOOD);
}
Expand Down

0 comments on commit 81ab302

Please sign in to comment.