From a4755cf288deb83df646f91f8fc98613271322db Mon Sep 17 00:00:00 2001 From: Casey Primozic Date: Thu, 30 Mar 2023 10:53:35 -0700 Subject: [PATCH] Remove unused variable (#607) * 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 2bcab68bf..6a36bc952 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;