From f7a54797788b34462df5ddbc697434a8f672e9c3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 22 Aug 2015 18:45:01 +0200 Subject: [PATCH] memmap.c - Cleanup --- libretro-common/memmap/memmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/memmap/memmap.c b/libretro-common/memmap/memmap.c index c7f930cf7c..2e67640f09 100644 --- a/libretro-common/memmap/memmap.c +++ b/libretro-common/memmap/memmap.c @@ -150,7 +150,6 @@ int mprotect(void *addr, size_t len, int prot) int memsync(void *start, void *end) { size_t len = (char*)end - (char*)start; - (void)len; #if defined(__MACH__) && defined(__arm__) sys_dcache_flush(start ,len); sys_icache_invalidate(start, len); @@ -165,6 +164,7 @@ int memsync(void *start, void *end) #endif ); #else + (void)len; return 0; #endif }