Bug 139534 - [SOUP] [GTK] warning: unused parameter at NetworkProcessSoup.cpp after r177056
Summary: [SOUP] [GTK] warning: unused parameter at NetworkProcessSoup.cpp after r177056
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 03:56 PST by Carlos Alberto Lopez Perez
Modified: 2014-12-11 05:36 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.53 KB, patch)
2014-12-11 03:59 PST, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff
Patch (1.68 KB, patch)
2014-12-11 04:25 PST, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2014-12-11 03:56:31 PST
After 177056 <http://trac.webkit.org/r177056> when building WebKitGTK+ the following warnings happen:

[5015/5536] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/NetworkProcess/soup/NetworkProcessSoup.cpp.o
../../Source/WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp:148:75: warning: unused parameter 'modifiedSince' [-Wunused-parameter]
../../Source/WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp:148:113: warning: unused parameter 'completionHandler' [-Wunused-parameter]
Comment 1 Carlos Alberto Lopez Perez 2014-12-11 03:59:44 PST
Created attachment 243112 [details]
Patch
Comment 2 Martin Robinson 2014-12-11 04:09:51 PST
Comment on attachment 243112 [details]
Patch

Instead of unused parameter simply put the name of the parameter in comments like this:

void NetworkProcess::clearDiskCache(std::chrono::system_clock::time_point /* modifiedSince */, std::function<void ()> /* completionHandler */)
Comment 3 Carlos Alberto Lopez Perez 2014-12-11 04:25:35 PST
Created attachment 243114 [details]
Patch
Comment 4 Carlos Alberto Lopez Perez 2014-12-11 05:36:35 PST
Comment on attachment 243114 [details]
Patch

Clearing flags on attachment: 243114

Committed r177145: <http://trac.webkit.org/changeset/177145>
Comment 5 Carlos Alberto Lopez Perez 2014-12-11 05:36:42 PST
All reviewed patches have been landed.  Closing bug.