From 6fab3ffe02c036db3d2005efeb6655b7050f318e Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Tue, 26 Nov 2024 00:06:45 +0200 Subject: [PATCH] speculative-simple : fix compile warning ggml-ci --- examples/speculative-simple/speculative-simple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/speculative-simple/speculative-simple.cpp b/examples/speculative-simple/speculative-simple.cpp index b317792e6..90cb50749 100644 --- a/examples/speculative-simple/speculative-simple.cpp +++ b/examples/speculative-simple/speculative-simple.cpp @@ -190,7 +190,7 @@ int main(int argc, char ** argv) { // in this case, we do it for a group of accepted tokens at once // { - llama_token id; + llama_token id = 0; std::string token_str; for (size_t i = 0; i < ids.size(); ++i) {