1
0
mirror of https://github.com/ggerganov/whisper.cpp.git synced 2025-04-04 16:20:42 +02:00

whisper : remove unnecessary GGML_UNUSED macro

This commit is contained in:
Daniel Bevenius 2025-03-28 12:37:49 +01:00
parent de6b38c6d9
commit c254ec6f95

View File

@ -1370,8 +1370,6 @@ static std::vector<ggml_backend_t> whisper_backend_init(const whisper_context_pa
}
}
GGML_UNUSED(params);
ggml_backend_t backend_cpu = ggml_backend_init_by_type(GGML_BACKEND_DEVICE_TYPE_CPU, nullptr);
if (backend_cpu == nullptr) {
throw std::runtime_error("failed to initialize CPU backend");