Browse Source

code cleanup: fix -Wmisleading-indentation

master
Yury Popov 2 years ago
parent
commit
aaae4e8daa
3 changed files with 4 additions and 4 deletions
  1. 1
    0
      src/libespeak-ng/CMakeLists.txt
  2. 3
    3
      src/libespeak-ng/synthesize.c
  3. 0
    1
      src/libespeak-ng/voices.c

+ 1
- 0
src/libespeak-ng/CMakeLists.txt View File

"-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")

+ 3
- 3
src/libespeak-ng/synthesize.c View File

if (WcmdqFree() <= free_min) if (WcmdqFree() <= free_min)
return 1; // wait 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]; prev = &phoneme_list[ix-1];
next = &phoneme_list[ix+1]; next = &phoneme_list[ix+1];

+ 0
- 1
src/libespeak-ng/voices.c View File



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;
} }

Loading…
Cancel
Save