Title: [148741] trunk/Source/WTF
- Revision
- 148741
- Author
- [email protected]
- Date
- 2013-04-19 06:32:56 -0700 (Fri, 19 Apr 2013)
Log Message
OSAllocatorPosix: fix build warnings about unused parameters in QNX
https://bugs.webkit.org/show_bug.cgi?id=114859
Patch by Alberto Garcia <[email protected]> on 2013-04-19
Reviewed by Carlos Garcia Campos.
* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::reserveUncommitted):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (148740 => 148741)
--- trunk/Source/WTF/ChangeLog 2013-04-19 12:43:45 UTC (rev 148740)
+++ trunk/Source/WTF/ChangeLog 2013-04-19 13:32:56 UTC (rev 148741)
@@ -1,3 +1,13 @@
+2013-04-19 Alberto Garcia <[email protected]>
+
+ OSAllocatorPosix: fix build warnings about unused parameters in QNX
+ https://bugs.webkit.org/show_bug.cgi?id=114859
+
+ Reviewed by Carlos Garcia Campos.
+
+ * wtf/OSAllocatorPosix.cpp:
+ (WTF::OSAllocator::reserveUncommitted):
+
2013-04-19 Dan Beam <[email protected]>
Remove unmaintained feature REQUEST_AUTOCOMPLETE
Modified: trunk/Source/WTF/wtf/OSAllocatorPosix.cpp (148740 => 148741)
--- trunk/Source/WTF/wtf/OSAllocatorPosix.cpp 2013-04-19 12:43:45 UTC (rev 148740)
+++ trunk/Source/WTF/wtf/OSAllocatorPosix.cpp 2013-04-19 13:32:56 UTC (rev 148741)
@@ -39,6 +39,11 @@
void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable, bool includesGuardPages)
{
#if OS(QNX)
+ UNUSED_PARAM(usage);
+ UNUSED_PARAM(writable);
+ UNUSED_PARAM(executable);
+ UNUSED_PARAM(includesGuardPages);
+
// Reserve memory with PROT_NONE and MAP_LAZY so it isn't committed now.
void* result = mmap(0, bytes, PROT_NONE, MAP_LAZY | MAP_PRIVATE | MAP_ANON, -1, 0);
if (result == MAP_FAILED)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes