Browse Source

TranslateWord: remove the unused add_plural_suffix variable.

master
Reece H. Dunn 8 years ago
parent
commit
e4e1e4db0a
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/libespeak-ng/translate.c

+ 1
- 2
src/libespeak-ng/translate.c View File

int c_temp; // save a character byte while we temporarily replace it with space int c_temp; // save a character byte while we temporarily replace it with space
int first_char; int first_char;
int last_char = 0; int last_char = 0;
int add_plural_suffix = 0;
int prefix_flags = 0; int prefix_flags = 0;
int more_suffixes; int more_suffixes;
int confirm_prefix; int confirm_prefix;
} }
} }


if ((add_plural_suffix) || (wflags & FLAG_HAS_PLURAL)) {
if (wflags & FLAG_HAS_PLURAL) {
// s or 's suffix, append [s], [z] or [Iz] depending on previous letter // s or 's suffix, append [s], [z] or [Iz] depending on previous letter
if (last_char == 'f') if (last_char == 'f')
TranslateRules(tr, &word_ss[1], phonemes, N_WORD_PHONEMES, NULL, 0, NULL); TranslateRules(tr, &word_ss[1], phonemes, N_WORD_PHONEMES, NULL, 0, NULL);

Loading…
Cancel
Save