diff --git a/sc2/src/libs/graphics/sdl/scalemmx.h b/sc2/src/libs/graphics/sdl/scalemmx.h index e233da9ec..69c83fe23 100644 --- a/sc2/src/libs/graphics/sdl/scalemmx.h +++ b/sc2/src/libs/graphics/sdl/scalemmx.h @@ -115,7 +115,11 @@ SCALE_(Prefetch) (const void* p) #else /* Not HAVE_PREFETCH */ static inline void -SCALE_(Prefetch) (const void* p) { /* no-op */ } +SCALE_(Prefetch) (const void* p) +{ + (void)p; // silence compiler + /* no-op */ +} #endif /* HAVE_PREFETCH */