From: Georgi Gerganov Date: Thu, 8 Aug 2024 19:59:59 +0000 (+0300) Subject: whisper : fix compile warning (#0) X-Git-Tag: upstream/1.7.4~497 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=4b7de08bfdc1bdd07d7727bc4f299b9bffec8f2a;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp whisper : fix compile warning (#0) --- diff --git a/src/whisper.cpp b/src/whisper.cpp index 752d5290..8d836908 100644 --- a/src/whisper.cpp +++ b/src/whisper.cpp @@ -7240,7 +7240,7 @@ struct median_filter_user_data { int filter_width; }; -static void median_filter(struct ggml_tensor * dst , const struct ggml_tensor * a, int ith, int nth, void * userdata) { +static void median_filter(struct ggml_tensor * dst , const struct ggml_tensor * a, int ith, int /*nth*/, void * userdata) { if (ith != 0) { return; }