[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.16-1409-g5afdf4d
ap at apple.com
ap at apple.com
Thu Dec 3 13:36:01 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 685d9724ab384cd70b4c707098c241ca90c28ca7
Author: ap at apple.com <ap at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Nov 13 18:47:40 2009 +0000
Release build fix.
* platform/network/cf/SocketStreamHandleCFNet.cpp:
(WebCore::SocketStreamHandle::readStreamCallback):
(WebCore::SocketStreamHandle::writeStreamCallback):
Use ASSERT_UNUSED for unused stream parameter.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 57aedfb..1fb010c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,12 @@
+2009-11-13 Alexey Proskuryakov <ap at apple.com>
+
+ Release build fix.
+
+ * platform/network/cf/SocketStreamHandleCFNet.cpp:
+ (WebCore::SocketStreamHandle::readStreamCallback):
+ (WebCore::SocketStreamHandle::writeStreamCallback):
+ Use ASSERT_UNUSED for unused stream parameter.
+
2009-11-12 Alexey Proskuryakov <ap at apple.com>
Reviewed by Darin Adler.
diff --git a/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp b/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp
index 24cbcda..36f1a6b 100644
--- a/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp
+++ b/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp
@@ -117,14 +117,14 @@ CFStringRef SocketStreamHandle::copyCFStreamDescription(void* info)
void SocketStreamHandle::readStreamCallback(CFReadStreamRef stream, CFStreamEventType type, void* clientCallBackInfo)
{
SocketStreamHandle* handle = static_cast<SocketStreamHandle*>(clientCallBackInfo);
- ASSERT(stream == handle->m_readStream.get());
+ ASSERT_UNUSED(stream, stream == handle->m_readStream.get());
handle->readStreamCallback(type);
}
void SocketStreamHandle::writeStreamCallback(CFWriteStreamRef stream, CFStreamEventType type, void* clientCallBackInfo)
{
SocketStreamHandle* handle = static_cast<SocketStreamHandle*>(clientCallBackInfo);
- ASSERT(stream == handle->m_writeStream.get());
+ ASSERT_UNUSED(stream, stream == handle->m_writeStream.get());
handle->writeStreamCallback(type);
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list