From 842abc7da921d728211efb4cc22461517b6d452b Mon Sep 17 00:00:00 2001 From: Casey Primozic Date: Wed, 29 Mar 2023 14:11:29 -0700 Subject: [PATCH] Remove unused variable * It seems some new warning were added recently that exposed this. I wrote the code that included this unused variable originally and it is indeed not needed. --- ggml.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ggml.c b/ggml.c index 02675ee67..66d529fcf 100644 --- a/ggml.c +++ b/ggml.c @@ -1829,7 +1829,6 @@ static void ggml_vec_dot_q4_0(const int n, float * restrict s, const void * rest const int superblock_size = 8; const int superblock_count = nb / superblock_size; - const int remainder = nb % superblock_size; for (int superblock_ix = 0; superblock_ix < superblock_count; superblock_ix += 1) { int i = superblock_ix * superblock_size;