Topics

Updates to Github #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

4 New Commits:

[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
ee944700f88a: code cleanup: Check all local includes with include-what-you-use

Going through files in src/libespeak-ng/, include-what-you-use removed a
few unnecessary includes and included explanations on why a certain
header should be included. This makes tracking globals and dependencies easier.

Running the codebase through IWYU should be repeated after each major
code restIncludes to standard c library weren't checked to avoid
breaking builds with other platforms.

See https://github.com/include-what-you-use/include-what-you-use

Modified: src/libespeak-ng/compiledata.c
Modified: src/libespeak-ng/compiledict.c
Modified: src/libespeak-ng/compilembrola.c
Modified: src/libespeak-ng/dictionary.c
Modified: src/libespeak-ng/dictionary.h
Modified: src/libespeak-ng/encoding.c
Modified: src/libespeak-ng/error.c
Modified: src/libespeak-ng/espeak_api.c
Modified: src/libespeak-ng/intonation.c
Modified: src/libespeak-ng/klatt.c
Modified: src/libespeak-ng/klatt.h
Modified: src/libespeak-ng/mnemonics.c
Modified: src/libespeak-ng/numbers.c
Modified: src/libespeak-ng/phonemelist.c
Modified: src/libespeak-ng/readclause.c
Modified: src/libespeak-ng/spect.c
Modified: src/libespeak-ng/spect.h
Modified: src/libespeak-ng/speech.c
Modified: src/libespeak-ng/speech.h
Modified: src/libespeak-ng/ssml.c
Modified: src/libespeak-ng/synthdata.c
Modified: src/libespeak-ng/synthdata.h
Modified: src/libespeak-ng/synthesize.c
Modified: src/libespeak-ng/synthesize.h
Modified: src/libespeak-ng/tr_languages.c
Modified: src/libespeak-ng/translate.c
Modified: src/libespeak-ng/voices.c
Modified: src/libespeak-ng/wavegen.c


[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
68874a06f113: code cleanup: make NumInstnWords() static

Modified: src/libespeak-ng/synthdata.c
Modified: src/libespeak-ng/synthdata.h


[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
725bdda56413: code cleanup: remove unused variables

this_ph_data, N_WAV_BUF, option.device, harm_sqrt_n, max_hval, next_pause

Modified: src/libespeak-ng/speech.c
Modified: src/libespeak-ng/synthdata.c
Modified: src/libespeak-ng/synthesize.c
Modified: src/libespeak-ng/wavegen.c


[espeak-ng:master] By Juho Hiltunen <jaacoppi@...>:
0352616de98d: code cleanup: remove ununsed ctrl_embedded

It's a duplicate of CTRL_EMBEDDED.

Modified: src/libespeak-ng/readclause.c
Modified: src/libespeak-ng/translate.c
Modified: src/libespeak-ng/translate.h


[espeak-ng/espeak-ng] Pull request closed by valdisvi:

#796 More code cleanups