Browse Source

The post_tonic variable is set but not used, so remove it.

master
Reece H. Dunn 9 years ago
parent
commit
8486c5d678
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      src/libespeak-ng/dictionary.c

+ 0
- 5
src/libespeak-ng/dictionary.c View File

int final_ph; int final_ph;
int final_ph2; int final_ph2;
int mnem; int mnem;
int post_tonic; // currently not used
int opt_length; int opt_length;
int done; int done;
int stressflags; int stressflags;
} }


p = phonetic; p = phonetic;
post_tonic = 0;
while(((phcode = *p++) != 0) && (output < max_output)) while(((phcode = *p++) != 0) && (output < max_output))
{ {
if((ph = phoneme_tab[phcode]) == NULL) if((ph = phoneme_tab[phcode]) == NULL)
v_stress = vowel_stress[v]; v_stress = vowel_stress[v];
tr->prev_last_stress = v_stress; tr->prev_last_stress = v_stress;


if(vowel_stress[v-1] >= max_stress)
post_tonic = 1;

if(v_stress <= 1) if(v_stress <= 1)
{ {
if((v > 1) && (max_stress >= 2) && (stressflags & S_FINAL_DIM) && (v == (vowel_count-1))) if((v > 1) && (max_stress >= 2) && (stressflags & S_FINAL_DIM) && (v == (vowel_count-1)))

Loading…
Cancel
Save