mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-11 12:23:47 +02:00
bench : fix uninitialized vars
This commit is contained in:
@ -76,6 +76,7 @@ int whisper_bench_full(const whisper_params & params) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
whisper_token tokens[512];
|
whisper_token tokens[512];
|
||||||
|
memset(tokens, 0, sizeof(tokens));
|
||||||
|
|
||||||
// prompt heat
|
// prompt heat
|
||||||
if (int ret = whisper_decode(ctx, tokens, 256, 0, params.n_threads) != 0) {
|
if (int ret = whisper_decode(ctx, tokens, 256, 0, params.n_threads) != 0) {
|
||||||
|
Reference in New Issue
Block a user