From 99ae274ba2409377f78c57a64a543c3106faca64 Mon Sep 17 00:00:00 2001 From: Charles Xu Date: Sat, 7 Feb 2026 12:33:26 +0100 Subject: [PATCH] fix ci build warnings --- ggml/src/ggml-quants.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ggml/src/ggml-quants.c b/ggml/src/ggml-quants.c index 1d70c6c7d0..0c34ca7cd6 100644 --- a/ggml/src/ggml-quants.c +++ b/ggml/src/ggml-quants.c @@ -2216,8 +2216,7 @@ static inline uint8_t map_int8_to_uint2_idx(int32_t v0) { case 3: return 3; default: - GGML_ASSERT(false); - return 0; + GGML_UNREACHABLE(); } } @@ -2233,8 +2232,7 @@ static inline int32_t map_uint2_idx_to_int8(uint8_t v0) { case 3: return 3; default: - GGML_ASSERT(false); - return 0; + GGML_UNREACHABLE(); } }