llava : zero-initialize clip_ctx structure fields with aggregate initialization

This commit is contained in:
Stanisław Szymczyk 2024-08-18 20:23:01 +02:00
parent 554b049068
commit 6a7e28903f

View file

@ -1108,7 +1108,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
} }
} }
clip_ctx * new_clip = new clip_ctx; clip_ctx * new_clip = new clip_ctx{};
// update projector type // update projector type
{ {