Kaynağa Gözat

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.
Casey Primozic 2 yıl önce
ebeveyn
işleme
a4755cf288
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      ggml.c

+ 0 - 1
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;