TranslateWord: remove the unused add_plural_suffix variable.

This commit is contained in:
Reece H. Dunn
2017-04-06 19:39:03 +01:00
parent 5226ff0d83
commit e4e1e4db0a
+1 -2
View File
@@ -555,7 +555,6 @@ int TranslateWord(Translator *tr, char *word_start, WORD_TAB *wtab, char *word_o
int c_temp; // save a character byte while we temporarily replace it with space
int first_char;
int last_char = 0;
int add_plural_suffix = 0;
int prefix_flags = 0;
int more_suffixes;
int confirm_prefix;
@@ -1026,7 +1025,7 @@ int TranslateWord(Translator *tr, char *word_start, WORD_TAB *wtab, char *word_o
}
}
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
if (last_char == 'f')
TranslateRules(tr, &word_ss[1], phonemes, N_WORD_PHONEMES, NULL, 0, NULL);