mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
code cleanup: fix -Wnewline-eof
This commit is contained in:
committed by
Alexander Epaneshnikov
parent
8e25c78177
commit
41f5703fde
@@ -2789,4 +2789,4 @@ static int CalculateSample(unsigned char c3, int c1) {
|
||||
c2 = c2 >> 16; // sign extend
|
||||
|
||||
return (c1 & 0xff) + c2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2994,4 +2994,4 @@ static void DollarRule(char *word[], char *word_start, int consumed, int group_l
|
||||
*add_points = 23;
|
||||
else
|
||||
*failed = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,4 +232,4 @@ int CheckTranslator(Translator *tr, const MNEM_TAB *keyword_tab, int key)
|
||||
|
||||
fprintf(stderr, "Cannot set %s: language not set, or is invalid.\n", LookupMnemName(keyword_tab, key));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -590,4 +590,4 @@ if (ph->type == phVOWEL) {
|
||||
// re-interpret the changed phoneme
|
||||
// But it doesn't obey a second ChangePhoneme()
|
||||
InterpretPhoneme(tr, 0x100, plist3, phdata, worddata);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user