mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 23:56:14 +00:00
code cleanup: fix -Wmisleading-indentation
This commit is contained in:
committed by
Alexander Epaneshnikov
parent
7b46c81b2f
commit
aaae4e8daa
@@ -54,6 +54,7 @@ if (NOT MSVC)
|
|||||||
"-Wmissing-prototypes"
|
"-Wmissing-prototypes"
|
||||||
"-Wint-conversion"
|
"-Wint-conversion"
|
||||||
"-Wimplicit"
|
"-Wimplicit"
|
||||||
|
"-Wmisleading-indentation"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
target_compile_definitions(espeak-ng PRIVATE "LIBESPEAK_NG_EXPORT=1")
|
target_compile_definitions(espeak-ng PRIVATE "LIBESPEAK_NG_EXPORT=1")
|
||||||
|
|||||||
@@ -1190,9 +1190,9 @@ int Generate(PHONEME_LIST *phoneme_list, int *n_ph, bool resume)
|
|||||||
if (WcmdqFree() <= free_min)
|
if (WcmdqFree() <= free_min)
|
||||||
return 1; // wait
|
return 1; // wait
|
||||||
|
|
||||||
PHONEME_LIST *prev;
|
PHONEME_LIST *prev;
|
||||||
PHONEME_LIST *next;
|
PHONEME_LIST *next;
|
||||||
PHONEME_LIST *next2;
|
PHONEME_LIST *next2;
|
||||||
|
|
||||||
prev = &phoneme_list[ix-1];
|
prev = &phoneme_list[ix-1];
|
||||||
next = &phoneme_list[ix+1];
|
next = &phoneme_list[ix+1];
|
||||||
|
|||||||
@@ -1423,7 +1423,6 @@ static int AddToVoicesList(const char *fname, int len_path_voices, int is_langua
|
|||||||
|
|
||||||
if (voice_data != NULL)
|
if (voice_data != NULL)
|
||||||
voices_list[n_voices_list++] = voice_data;
|
voices_list[n_voices_list++] = voice_data;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user