Spaces:
Running
Running
whisper : remove unnecessary GGML_UNUSED macro (#2960)
Browse files- src/whisper.cpp +0 -2
src/whisper.cpp
CHANGED
|
@@ -1370,8 +1370,6 @@ static std::vector<ggml_backend_t> whisper_backend_init(const whisper_context_pa
|
|
| 1370 |
}
|
| 1371 |
}
|
| 1372 |
|
| 1373 |
-
GGML_UNUSED(params);
|
| 1374 |
-
|
| 1375 |
ggml_backend_t backend_cpu = ggml_backend_init_by_type(GGML_BACKEND_DEVICE_TYPE_CPU, nullptr);
|
| 1376 |
if (backend_cpu == nullptr) {
|
| 1377 |
throw std::runtime_error("failed to initialize CPU backend");
|
|
|
|
| 1370 |
}
|
| 1371 |
}
|
| 1372 |
|
|
|
|
|
|
|
| 1373 |
ggml_backend_t backend_cpu = ggml_backend_init_by_type(GGML_BACKEND_DEVICE_TYPE_CPU, nullptr);
|
| 1374 |
if (backend_cpu == nullptr) {
|
| 1375 |
throw std::runtime_error("failed to initialize CPU backend");
|