Changeset 152087 in webkit
- Timestamp:
- Jun 27, 2013, 3:28:07 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152086 r152087 1 2013-06-27 Peter Gal <galpeter@inf.u-szeged.hu> 2 3 [curl] Fix unused variable/parameter warnings 4 https://bugs.webkit.org/show_bug.cgi?id=118050 5 6 Reviewed by Christophe Dumez. 7 8 Commented out unused parameters and removed an unused variable in the curl backend. 9 10 No tests required. 11 12 * platform/network/curl/CredentialStorageCurl.cpp: 13 (WebCore::CredentialStorage::getFromPersistentStorage): 14 * platform/network/curl/DNSCurl.cpp: 15 (WebCore::prefetchDNS): 16 * platform/network/curl/ResourceHandleManager.cpp: 17 (WebCore::curl_lock_callback): 18 (WebCore::curl_unlock_callback): 19 (WebCore::headerCallback): 20 (WebCore::ResourceHandleManager::downloadTimerCallback): 21 1 22 2013-06-27 Csaba Osztrogonác <ossy@webkit.org> 2 23 -
trunk/Source/WebCore/platform/network/curl/CredentialStorageCurl.cpp
r86343 r152087 32 32 namespace WebCore { 33 33 34 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& protectionSpace)34 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& /* protectionSpace */) 35 35 { 36 36 notImplemented(); -
trunk/Source/WebCore/platform/network/curl/DNSCurl.cpp
r95901 r152087 31 31 namespace WebCore { 32 32 33 void prefetchDNS(const String& hostname)33 void prefetchDNS(const String& /* hostname */) 34 34 { 35 35 notImplemented(); -
trunk/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp
r152085 r152087 116 116 // these two functions provide mutexes for cookies, and for the global DNS 117 117 // cache. 118 static void curl_lock_callback(CURL* handle, curl_lock_data data, curl_lock_access access, void* userPtr)118 static void curl_lock_callback(CURL* /* handle */, curl_lock_data data, curl_lock_access /* access */, void* /* userPtr */) 119 119 { 120 120 if (Mutex* mutex = sharedResourceMutex(data)) … … 122 122 } 123 123 124 static void curl_unlock_callback(CURL* handle, curl_lock_data data, void* userPtr)124 static void curl_unlock_callback(CURL* /* handle */, curl_lock_data data, void* /* userPtr */) 125 125 { 126 126 if (Mutex* mutex = sharedResourceMutex(data)) … … 313 313 if (header == String("\r\n") || header == String("\n")) { 314 314 CURL* h = d->m_handle; 315 CURLcode err;316 315 317 316 long httpCode = 0; 318 err =curl_easy_getinfo(h, CURLINFO_RESPONSE_CODE, &httpCode);317 curl_easy_getinfo(h, CURLINFO_RESPONSE_CODE, &httpCode); 319 318 320 319 if (isHttpInfo(httpCode)) { … … 325 324 326 325 double contentLength = 0; 327 err =curl_easy_getinfo(h, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &contentLength);326 curl_easy_getinfo(h, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &contentLength); 328 327 d->m_response.setExpectedContentLength(static_cast<long long int>(contentLength)); 329 328 330 329 const char* hdr; 331 err =curl_easy_getinfo(h, CURLINFO_EFFECTIVE_URL, &hdr);330 curl_easy_getinfo(h, CURLINFO_EFFECTIVE_URL, &hdr); 332 331 d->m_response.setURL(KURL(ParsedURLString, hdr)); 333 332 … … 423 422 } 424 423 425 void ResourceHandleManager::downloadTimerCallback(Timer<ResourceHandleManager>* timer)424 void ResourceHandleManager::downloadTimerCallback(Timer<ResourceHandleManager>* /* timer */) 426 425 { 427 426 startScheduledJobs();
Note:
See TracChangeset
for help on using the changeset viewer.