@@ -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; | |||
@@ -28,10 +28,9 @@ | |||
static int initialized = 0; | |||
static int SynthCallback(short *wav, int numsamples, espeak_EVENT *events) { | |||
/* prevent warning for unused arguments */ | |||
(void) wav; | |||
(void) numsamples; | |||
(void) events; | |||
(void)wav; // unused | |||
(void)numsamples; // unused | |||
(void)events; // unused | |||
return 0; | |||
} | |||
@@ -45,6 +44,7 @@ char *filepath = NULL; | |||
extern int LLVMFuzzerInitialize(const int* argc, char*** argv) | |||
{ | |||
(void)argc; // unused | |||
filepath = dirname(strdup((*argv)[0])); | |||
return 0; | |||
} |