mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +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
|
c2 = c2 >> 16; // sign extend
|
||||||
|
|
||||||
return (c1 & 0xff) + c2;
|
return (c1 & 0xff) + c2;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2994,4 +2994,4 @@ static void DollarRule(char *word[], char *word_start, int consumed, int group_l
|
|||||||
*add_points = 23;
|
*add_points = 23;
|
||||||
else
|
else
|
||||||
*failed = 1;
|
*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));
|
fprintf(stderr, "Cannot set %s: language not set, or is invalid.\n", LookupMnemName(keyword_tab, key));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -590,4 +590,4 @@ if (ph->type == phVOWEL) {
|
|||||||
// re-interpret the changed phoneme
|
// re-interpret the changed phoneme
|
||||||
// But it doesn't obey a second ChangePhoneme()
|
// But it doesn't obey a second ChangePhoneme()
|
||||||
InterpretPhoneme(tr, 0x100, plist3, phdata, worddata);
|
InterpretPhoneme(tr, 0x100, plist3, phdata, worddata);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user