From: Georgi Gerganov Date: Sat, 7 Jan 2023 07:34:39 +0000 (+0200) Subject: ggml : make gcc happy (minor) X-Git-Tag: upstream/1.7.4~1640 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f82a7dd019f5ae923a1d94d5b220c47854a417a0;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml : make gcc happy (minor) --- diff --git a/ggml.c b/ggml.c index 70728fa2..c88eb227 100644 --- a/ggml.c +++ b/ggml.c @@ -1404,7 +1404,7 @@ struct ggml_context * ggml_init(struct ggml_init_params params) { const uint64_t t_start = ggml_time_us(); UNUSED(t_start); g_state = (struct ggml_state) { - /*.contexts =*/ { 0 }, + /*.contexts =*/ { { 0 } }, }; for (int i = 0; i < GGML_MAX_CONTEXTS; ++i) {