aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Primozic <me@ameo.link>2023-03-30 10:53:35 -0700
committerGitHub <noreply@github.com>2023-03-30 17:53:35 +0000
commita4755cf288deb83df646f91f8fc98613271322db (patch)
tree96ccbf3689efa8d1560d58d146aa1775b1403d0b
parent1f0414feecc336482163af6c1e5650f9373ed8c9 (diff)
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.
-rw-r--r--ggml.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ggml.c b/ggml.c
index 2bcab68..6a36bc9 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;