From 713e8a9e2c938288921deeae3066ee7d9b1cd4f9 Mon Sep 17 00:00:00 2001 From: Juho Hiltunen Date: Tue, 21 Jul 2020 15:48:01 +0300 Subject: [PATCH] code cleanup: remove unused parameter from SetUpPhonemeTable. See commit 65847bd251004f0a1d5d1. Bool recursing is not used for anything anymore. Fixes a (compiler warning. --- src/libespeak-ng/synthdata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libespeak-ng/synthdata.c b/src/libespeak-ng/synthdata.c index 58cbd56d..bcc40541 100644 --- a/src/libespeak-ng/synthdata.c +++ b/src/libespeak-ng/synthdata.c @@ -329,7 +329,7 @@ unsigned char *GetEnvelope(int index) return (unsigned char *)&phondata_ptr[index]; } -static void SetUpPhonemeTable(int number, bool recursing) +static void SetUpPhonemeTable(int number) { int ix; int includes; @@ -338,7 +338,7 @@ static void SetUpPhonemeTable(int number, bool recursing) if ((includes = phoneme_tab_list[number].includes) > 0) { // recursively include base phoneme tables - SetUpPhonemeTable(includes-1, true); + SetUpPhonemeTable(includes - 1); } // now add the phonemes from this table @@ -354,7 +354,7 @@ static void SetUpPhonemeTable(int number, bool recursing) int SelectPhonemeTable(int number) { n_phoneme_tab = 0; - SetUpPhonemeTable(number, false); // recursively for included phoneme tables + SetUpPhonemeTable(number); // recursively for included phoneme tables n_phoneme_tab++; return number; }