code cleanup: fix -Wmisleading-indentation

This commit is contained in:
Yury Popov
2023-01-01 21:22:59 +03:00
committed by Alexander Epaneshnikov
parent 7b46c81b2f
commit aaae4e8daa
3 changed files with 4 additions and 4 deletions
+1
View File
@@ -54,6 +54,7 @@ if (NOT MSVC)
"-Wmissing-prototypes"
"-Wint-conversion"
"-Wimplicit"
"-Wmisleading-indentation"
)
endif()
target_compile_definitions(espeak-ng PRIVATE "LIBESPEAK_NG_EXPORT=1")
+3 -3
View File
@@ -1190,9 +1190,9 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, bool resume)
if (WcmdqFree() <= free_min)
return 1; // wait
PHONEME_LIST *prev;
PHONEME_LIST *next;
PHONEME_LIST *next2;
PHONEME_LIST *prev;
PHONEME_LIST *next;
PHONEME_LIST *next2;
prev = &phoneme_list[ix-1];
next = &phoneme_list[ix+1];
-1
View File
@@ -1423,7 +1423,6 @@ static int AddToVoicesList(const char *fname, int len_path_voices, int is_langua
if (voice_data != NULL)
voices_list[n_voices_list++] = voice_data;
return 0;
}
return 0;
}