Kaynağa Gözat

Fix compiler warning.

Mike Pall 14 yıl önce
ebeveyn
işleme
7bad42a3ba
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      src/lj_asm.c

+ 3 - 1
src/lj_asm.c

@@ -856,7 +856,9 @@ static uint32_t ir_khash(IRIns *ir)
 static void asm_cache_flush(MCode *start, MCode *end)
 {
   VG_INVALIDATE(start, (char *)end-(char *)start);
-#if !LJ_TARGET_X86ORX64
+#if LJ_TARGET_X86ORX64
+  UNUSED(start); UNUSED(end);
+#else
 #if defined(__GNUC__)
   __clear_cache(start, end);
 #else