mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-25 04:38:37 +00:00
Enable and fix -Wunused-parameter warnings.
This commit is contained in:
@@ -540,6 +540,8 @@ test_espeak_set_voice_by_properties_with_invalid_language()
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
(void)argc; // unused parameter
|
||||
|
||||
char *progdir = strdup(argv[0]);
|
||||
char *dir = strrchr(progdir, '/');
|
||||
if (dir != NULL) *dir = 0;
|
||||
|
||||
Reference in New Issue
Block a user