From: Casey Primozic Date: Thu, 30 Mar 2023 17:53:35 +0000 (-0700) Subject: Remove unused variable (#607) X-Git-Tag: gguf-v0.4.0~1050 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a4755cf288deb83df646f91f8fc98613271322db;p=pkg%2Fggml%2Fsources%2Fllama.cpp 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. --- diff --git a/ggml.c b/ggml.c index 2bcab68b..6a36bc95 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;