From a3320a35442e14c92c3fa014fa5aae87e6a04b8e Mon Sep 17 00:00:00 2001 From: avolkov Date: Sat, 19 Dec 2009 03:10:22 +0000 Subject: [PATCH] Fix unreferenced parameter warning git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3448 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/libs/graphics/sdl/scalemmx.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 */