From c235464a091c8d6c33bef6fdaad62bac67aeb1f6 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 24 Apr 2013 14:25:45 +0200 Subject: Suppress unused parameter warning. Change-Id: I1dcc3f2c5ee85f3c21035e5c93188c841c727727 Reviewed-by: Lars Knoll --- src/3rdparty/masm/stubs/ExecutableAllocator.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/3rdparty/masm') diff --git a/src/3rdparty/masm/stubs/ExecutableAllocator.h b/src/3rdparty/masm/stubs/ExecutableAllocator.h index 49136a9887..351851c68d 100644 --- a/src/3rdparty/masm/stubs/ExecutableAllocator.h +++ b/src/3rdparty/masm/stubs/ExecutableAllocator.h @@ -105,6 +105,8 @@ struct ExecutableAllocator { mprotect(reinterpret_cast(roundAddr), size + (iaddr - roundAddr), mode); #else // We assume we already have RWX + (void)addr; // suppress unused parameter warning + (void)size; // suppress unused parameter warning #endif } -- cgit v1.2.3