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:
parent
de6b38c6d9
commit
c254ec6f95
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user