mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-19 04:37:51 +00:00
ggml : make gcc happy (minor)
This commit is contained in:
parent
87dd4a3081
commit
f82a7dd019
2
ggml.c
2
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);
|
const uint64_t t_start = ggml_time_us(); UNUSED(t_start);
|
||||||
|
|
||||||
g_state = (struct ggml_state) {
|
g_state = (struct ggml_state) {
|
||||||
/*.contexts =*/ { 0 },
|
/*.contexts =*/ { { 0 } },
|
||||||
};
|
};
|
||||||
|
|
||||||
for (int i = 0; i < GGML_MAX_CONTEXTS; ++i) {
|
for (int i = 0; i < GGML_MAX_CONTEXTS; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user