RESOLVED FIXED Bug 139534
[SOUP] [GTK] warning: unused parameter at NetworkProcessSoup.cpp after r177056
https://bugs.webkit.org/show_bug.cgi?id=139534
Summary [SOUP] [GTK] warning: unused parameter at NetworkProcessSoup.cpp after r177056
Carlos Alberto Lopez Perez
Reported 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]
Attachments
Patch (1.53 KB, patch)
2014-12-11 03:59 PST, Carlos Alberto Lopez Perez
no flags
Patch (1.68 KB, patch)
2014-12-11 04:25 PST, Carlos Alberto Lopez Perez
no flags
Carlos Alberto Lopez Perez
Comment 1 2014-12-11 03:59:44 PST
Martin Robinson
Comment 2 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 */)
Carlos Alberto Lopez Perez
Comment 3 2014-12-11 04:25:35 PST
Carlos Alberto Lopez Perez
Comment 4 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>
Carlos Alberto Lopez Perez
Comment 5 2014-12-11 05:36:42 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.