mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Remove the unused variable in voices.c.
This commit is contained in:
@@ -1466,10 +1466,8 @@ static void GetVoices(const char *path, int len_path_voices, int is_language_fil
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
|
||||
|
||||
ESPEAK_NG_API espeak_ng_STATUS espeak_ng_SetVoiceByFile(const char *filename)
|
||||
{
|
||||
espeak_VOICE *v;
|
||||
int ix;
|
||||
espeak_VOICE voice_selector;
|
||||
char *variant_name;
|
||||
@@ -1504,7 +1502,6 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_SetVoiceByFile(const char *filename)
|
||||
return ENS_VOICE_NOT_FOUND;
|
||||
}
|
||||
|
||||
|
||||
ESPEAK_NG_API espeak_ng_STATUS espeak_ng_SetVoiceByName(const char *name)
|
||||
{
|
||||
espeak_VOICE *v;
|
||||
|
||||
Reference in New Issue
Block a user