Fix -Wunused-parameter warnings.

This commit is contained in:
Reece H. Dunn
2021-05-30 17:10:25 +01:00
parent 389ce6b738
commit 5791bf28de
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -266,6 +266,8 @@ static int check_data_path(const char *path, int allow_directory)
ESPEAK_NG_API espeak_ng_STATUS espeak_ng_InitializeOutput(espeak_ng_OUTPUT_MODE output_mode, int buffer_length, const char *device)
{
(void)device; // unused if HAVE_PCAUDIOLIB_AUDIO_H is not defined
my_mode = output_mode;
out_samplerate = 0;