From 8050b3f1b6062af635943943581f4d18b33d3c62 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Tue, 24 Jan 2017 19:30:13 +0000 Subject: [PATCH] compiledata: declare place_articulation locally. --- src/libespeak-ng/compiledata.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libespeak-ng/compiledata.c b/src/libespeak-ng/compiledata.c index b5af232f..c003f039 100644 --- a/src/libespeak-ng/compiledata.c +++ b/src/libespeak-ng/compiledata.c @@ -366,7 +366,6 @@ 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 int place_articulation; static char *p_equivalence; static char equivalence_buf[20000]; @@ -1971,7 +1970,6 @@ static void CallPhoneme(void) // Phoneme type has not been set. Copy it from the called phoneme phoneme_out->type = ph->type; phoneme_flags = ph->phflags & ~phARTICULATION; - place_articulation = (ph->phflags & phARTICULATION) >> 16; phoneme_out->start_type = ph->start_type; phoneme_out->end_type = ph->end_type; phoneme_out->std_length = ph->std_length; @@ -2021,7 +2019,7 @@ int CompilePhoneme(int compile_phoneme) if_stack[0].returned = 0; after_if = 0; phoneme_flags = 0; - place_articulation = 0; + int place_articulation = 0; NextItem(tSTRING); if (compile_phoneme) {