Переглянути джерело

Fixed error: variable 'nfences' set but not used

Sam Lantinga 1 рік тому
батько
коміт
8b0798a3da
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      src/stdlib/SDL_malloc.c

+ 1 - 0
src/stdlib/SDL_malloc.c

@@ -4046,6 +4046,7 @@ static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) {
     else
       break;
   }
+  (void)nfences;
   assert(nfences >= 2);
 
   /* Insert the rest of old top into a bin as an ordinary free chunk */