Fix build warning
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 07:30:53 +0000 (07:30 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 07:30:53 +0000 (07:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=104978

Patch by Sanghyup Lee <sh53.lee@samsung.com> on 2012-12-13
Reviewed by Kentaro Hara.

Initialize parameter 'downloadID' to fix 'unused parameter' build warning.

* WebProcess/Downloads/Download.cpp:
(WebKit::Download::Download):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137716 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/Downloads/Download.cpp

index e32dd6a..843a3c7 100644 (file)
@@ -1,3 +1,15 @@
+2012-12-13  Sanghyup Lee  <sh53.lee@samsung.com>
+
+        Fix build warning
+        https://bugs.webkit.org/show_bug.cgi?id=104978
+
+        Reviewed by Kentaro Hara.
+
+        Initialize parameter 'downloadID' to fix 'unused parameter' build warning.
+
+        * WebProcess/Downloads/Download.cpp:
+        (WebKit::Download::Download):
+
 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
 
         Resource loads sometimes stall
index 6c5db78..638f67c 100644 (file)
@@ -46,6 +46,7 @@ PassOwnPtr<Download> Download::create(DownloadManager& downloadManager, uint64_t
 
 Download::Download(DownloadManager& downloadManager, uint64_t downloadID, const ResourceRequest& request)
     : m_downloadManager(downloadManager)
+    , m_downloadID(downloadID)
     , m_request(request)
 #if USE(CFNETWORK)
     , m_allowOverwrite(false)