cmake : enable and fix -Wall -Wextra -Wpedantic C++ warnings

This commit is contained in:
Georgi Gerganov
2022-12-19 20:45:08 +02:00
parent 8e3f129b4d
commit 99da1e5cc8
8 changed files with 24 additions and 29 deletions

View File

@ -33,7 +33,7 @@ bool whisper_params_parse(int argc, char ** argv, whisper_params & params) {
return true;
}
void whisper_print_usage(int argc, char ** argv, const whisper_params & params) {
void whisper_print_usage(int /*argc*/, char ** argv, const whisper_params & params) {
fprintf(stderr, "\n");
fprintf(stderr, "usage: %s [options]\n", argv[0]);
fprintf(stderr, "\n");