mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-02 12:08:00 +02:00
whisper : remove unnecessary GGML_UNUSED macro (#2960)
This commit is contained in:
parent
6e7629b146
commit
f92bd59951
@ -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