From 8d4e096b09a9e124b8844456b3909200feb34cf7 Mon Sep 17 00:00:00 2001 From: "zhou.weiguo" Date: Wed, 17 Apr 2024 17:52:50 +0800 Subject: [PATCH] fix build issue which reported by github CI system --- llama.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llama.cpp b/llama.cpp index a57fc709d..a620fe53e 100644 --- a/llama.cpp +++ b/llama.cpp @@ -17148,6 +17148,9 @@ static void llama_log_internal_v(ggml_log_level level, const char * file, const va_list args_copy; va_copy(args_copy, args); char buffer[1024]; + + GGML_UNUSED(file); + int len_prefix = snprintf(buffer, 1024, "[%s, %d]: ", func, line); // param file not used in this file int len = vsnprintf(buffer + len_prefix, 1024 - len_prefix, format, args); if (len < (1024 - len_prefix)) {