mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Enable and fix -Wunused-variable warnings.
This commit is contained in:
@@ -2359,8 +2359,6 @@ static void WritePhonemeTables()
|
||||
static void EndPhonemeTable()
|
||||
{
|
||||
int ix;
|
||||
int *pw;
|
||||
int length;
|
||||
|
||||
if (n_phoneme_tabs == 0)
|
||||
return;
|
||||
|
||||
@@ -184,7 +184,6 @@ int Eof(void)
|
||||
static int GetC(void)
|
||||
{
|
||||
int c1;
|
||||
static int ungot2 = 0;
|
||||
|
||||
if ((c1 = ungot_char) != 0) {
|
||||
ungot_char = 0;
|
||||
|
||||
@@ -112,7 +112,6 @@ espeak_ng_STATUS LoadPhData(int *srate, espeak_ng_ERROR_CONTEXT *context)
|
||||
int length = 0;
|
||||
int rate;
|
||||
unsigned char *p;
|
||||
int *pw;
|
||||
|
||||
espeak_ng_STATUS status;
|
||||
if ((status = ReadPhFile((void **)&phoneme_tab_data, "phontab", NULL, context)) != ENS_OK)
|
||||
@@ -508,7 +507,6 @@ static bool InterpretCondition(Translator *tr, int control, PHONEME_LIST *plist,
|
||||
unsigned int data;
|
||||
int instn;
|
||||
int instn2;
|
||||
int count;
|
||||
int check_endtype = 0;
|
||||
PHONEME_TAB *ph;
|
||||
PHONEME_LIST *plist_this;
|
||||
|
||||
@@ -525,7 +525,6 @@ static int TranslateWord3(Translator *tr, char *word_start, WORD_TAB *wtab, char
|
||||
int more_suffixes;
|
||||
int confirm_prefix;
|
||||
int spell_word;
|
||||
int stress_bits;
|
||||
int emphasize_allcaps = 0;
|
||||
int wflags;
|
||||
int wmark;
|
||||
|
||||
Reference in New Issue
Block a user