code cleanup: fix -Wnewline-eof

This commit is contained in:
Yury Popov
2023-01-01 21:22:59 +03:00
committed by Alexander Epaneshnikov
parent 8e25c78177
commit 41f5703fde
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;
} }
+1 -1
View File
@@ -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;
} }
+1 -1
View File
@@ -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;
} }
+1 -1
View File
@@ -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);
} }