aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/wtf
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-03-04 12:29:03 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 13:14:10 +0100
commit7e87bf0bb7dd5b64fca0fedce046d7ab0475a4c6 (patch)
tree5124f2f9f28663403c81779cda612c1f939dc725 /src/3rdparty/masm/wtf
parent6269e4fafc882b9727fe06b405b876af99060d8c (diff)
Fix MSVC2012 compiler warnings.
Tested on both win32 and win64. Change-Id: I47755e2da51829e61e1452eaaf84a057224b478b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/3rdparty/masm/wtf')
-rw-r--r--src/3rdparty/masm/wtf/OSAllocatorWin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/masm/wtf/OSAllocatorWin.cpp b/src/3rdparty/masm/wtf/OSAllocatorWin.cpp
index 78300dc715..f95a4841c6 100644
--- a/src/3rdparty/masm/wtf/OSAllocatorWin.cpp
+++ b/src/3rdparty/masm/wtf/OSAllocatorWin.cpp
@@ -72,6 +72,7 @@ void OSAllocator::decommit(void* address, size_t bytes)
void OSAllocator::releaseDecommitted(void* address, size_t bytes)
{
+ (void) bytes; // suppress unused formal parameter warning
// According to http://msdn.microsoft.com/en-us/library/aa366892(VS.85).aspx,
// dwSize must be 0 if dwFreeType is MEM_RELEASE.
bool result = VirtualFree(address, 0, MEM_RELEASE);