mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
code cleanup: remove unnecessary pointer assignment and enum value.
- V_ALPHABET2 is a leftover from 2f8f125.
- langopts assignment is unnecessary since it's not used later in the
function.
This commit is contained in:
@@ -109,7 +109,6 @@ enum {
|
||||
V_FAST,
|
||||
V_SPEED,
|
||||
V_DICTMIN,
|
||||
V_ALPHABET2,
|
||||
|
||||
// these need a phoneme table to have been specified
|
||||
V_REPLACE,
|
||||
@@ -890,9 +889,7 @@ voice_t *LoadVoice(const char *vname, int control)
|
||||
voice_languages[langix] = 0;
|
||||
}
|
||||
|
||||
langopts = &new_translator->langopts;
|
||||
|
||||
if ((value = langopts->param[LOPT_LENGTH_MODS]) != 0)
|
||||
if ((value = new_translator->langopts.param[LOPT_LENGTH_MODS]) != 0)
|
||||
SetLengthMods(new_translator, value);
|
||||
|
||||
voice->width[0] = (voice->width[0] * 105)/100;
|
||||
|
||||
Reference in New Issue
Block a user