mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-09 22:59:18 +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];
|
||||
memset(tokens, 0, sizeof(tokens));
|
||||
|
||||
// prompt heat
|
||||
if (int ret = whisper_decode(ctx, tokens, 256, 0, params.n_threads) != 0) {
|
||||
|
Reference in New Issue
Block a user