aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-04-24 14:25:45 +0200
committerLars Knoll <lars.knoll@digia.com>2013-04-24 17:24:05 +0200
commitc235464a091c8d6c33bef6fdaad62bac67aeb1f6 (patch)
treec92a932f0d1a2e8470a4ec479a734fd2da9ac4bd /src/3rdparty/masm
parent100e62c8842608268eed43b639a66bb3da3f13ef (diff)
Suppress unused parameter warning.
Change-Id: I1dcc3f2c5ee85f3c21035e5c93188c841c727727 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/masm')
-rw-r--r--src/3rdparty/masm/stubs/ExecutableAllocator.h2
1 files changed, 2 insertions, 0 deletions
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<void*>(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
}