From 44066d4e1becf4e62a0415fbd5067facd2af66e5 Mon Sep 17 00:00:00 2001 From: "Vandana Malayil (a.k.a Vandana Rajan)" Date: Tue, 14 Apr 2026 10:42:17 +0100 Subject: [PATCH] Removing unused variable that caused build warning (#35453) removed unused variable that caused build warning --- components/local_ai/resources/candle_embedding_gemma/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/local_ai/resources/candle_embedding_gemma/src/lib.rs b/components/local_ai/resources/candle_embedding_gemma/src/lib.rs index b42eed55aea..832bd744c8e 100644 --- a/components/local_ai/resources/candle_embedding_gemma/src/lib.rs +++ b/components/local_ai/resources/candle_embedding_gemma/src/lib.rs @@ -1004,7 +1004,6 @@ impl Gemma3Embedder { cumulative.push(cumulative.last().unwrap() + len as u32); } - let token_len = all_ids.len(); Ok(Batch { input_ids: all_ids, position_ids: all_positions,