Skip to content

Commit

Permalink
compiledata: declare phoneme_flags locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhdunn committed Jan 24, 2017
1 parent 8050b3f commit 60a584c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libespeak-ng/compiledata.c
Expand Up @@ -365,7 +365,6 @@ static PHONEME_TAB *phoneme_out;
static int n_phcodes_list[N_PHONEME_TABS];
static PHONEME_TAB_LIST phoneme_tab_list2[N_PHONEME_TABS];
static PHONEME_TAB *phoneme_tab2;
static int phoneme_flags;

static char *p_equivalence;
static char equivalence_buf[20000];
Expand Down Expand Up @@ -1969,7 +1968,6 @@ static void CallPhoneme(void)
if (phoneme_out->type == phINVALID) {
// Phoneme type has not been set. Copy it from the called phoneme
phoneme_out->type = ph->type;
phoneme_flags = ph->phflags & ~phARTICULATION;
phoneme_out->start_type = ph->start_type;
phoneme_out->end_type = ph->end_type;
phoneme_out->std_length = ph->std_length;
Expand Down Expand Up @@ -2018,7 +2016,7 @@ int CompilePhoneme(int compile_phoneme)
if_level = 0;
if_stack[0].returned = 0;
after_if = 0;
phoneme_flags = 0;
int phoneme_flags = 0;
int place_articulation = 0;

NextItem(tSTRING);
Expand Down

0 comments on commit 60a584c

Please sign in to comment.