diff --git a/src/libespeak-ng/fifo.c b/src/libespeak-ng/fifo.c index 7b637f0b..18cf4903 100644 --- a/src/libespeak-ng/fifo.c +++ b/src/libespeak-ng/fifo.c @@ -223,7 +223,6 @@ static int sleep_until_start_request_or_inactivity(void) i++; struct timespec ts; - struct timeval tv; clock_gettime2(&ts); @@ -233,8 +232,6 @@ static int sleep_until_start_request_or_inactivity(void) && errno == EINTR) continue; - assert(gettimeofday(&tv, NULL) != -1); - if (err == 0) a_start_is_required = true; } diff --git a/src/libespeak-ng/intonation.c b/src/libespeak-ng/intonation.c index 60f032d2..8e405677 100644 --- a/src/libespeak-ng/intonation.c +++ b/src/libespeak-ng/intonation.c @@ -770,7 +770,6 @@ static void CalcPitches_Tone(Translator *tr) { PHONEME_LIST *p; int ix; - int count_stressed = 0; int final_stressed = 0; int tone_ph; @@ -791,7 +790,6 @@ static void CalcPitches_Tone(Translator *tr) for (ix = 0; ix < n_phoneme_list; ix++, p++) { if ((p->type == phVOWEL) && (p->stresslevel >= 4)) { final_stressed = ix; - count_stressed++; } } diff --git a/src/libespeak-ng/numbers.c b/src/libespeak-ng/numbers.c index b2885f59..02d3411a 100644 --- a/src/libespeak-ng/numbers.c +++ b/src/libespeak-ng/numbers.c @@ -763,7 +763,6 @@ int TranslateRoman(Translator *tr, char *word, char *ph_out, WORD_TAB *wtab) int value; int subtract; int repeat = 0; - int n_digits = 0; char *word_start; int num_control = 0; unsigned int flags[2]; @@ -817,7 +816,6 @@ int TranslateRoman(Translator *tr, char *word, char *ph_out, WORD_TAB *wtab) else acc += prev; prev = value; - n_digits++; } if (IsDigit09(word[0])) diff --git a/src/libespeak-ng/speech.c b/src/libespeak-ng/speech.c index 4babf780..d79996bc 100644 --- a/src/libespeak-ng/speech.c +++ b/src/libespeak-ng/speech.c @@ -428,7 +428,6 @@ static espeak_ng_STATUS Synthesize(unsigned int unique_identifier, const void *t // Fill the buffer with output sound int length; int finished = 0; - int count_buffers = 0; if ((outbuf == NULL) || (event_list == NULL)) return ENS_NOT_INITIALIZED; @@ -467,7 +466,6 @@ static espeak_ng_STATUS Synthesize(unsigned int unique_identifier, const void *t event_list[event_list_ix].unique_identifier = unique_identifier; event_list[event_list_ix].user_data = my_user_data; - count_buffers++; if ((my_mode & ENOUTPUT_MODE_SPEAK_AUDIO) == ENOUTPUT_MODE_SPEAK_AUDIO) { finished = create_events((short *)outbuf, length, event_list); if (finished < 0)