]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : fix compile warning for unused params
authorGeorgi Gerganov <redacted>
Wed, 28 Aug 2024 08:40:11 +0000 (11:40 +0300)
committerGeorgi Gerganov <redacted>
Wed, 28 Aug 2024 08:40:11 +0000 (11:40 +0300)
src/whisper.cpp

index 0744dba184385937d74e6f1fb3e2fb490be1b229..0e72f87546559cab9f1f2f0d0a0ba7908c0edc3b 100644 (file)
@@ -1297,6 +1297,8 @@ static ggml_backend_t whisper_backend_init_gpu(const whisper_context_params & pa
     }
 #endif
 
+    GGML_UNUSED(params);
+
     return result;
 }