Bug 141474

Summary: [GTK][EFL] Suppress a warning of unused params
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, gyuyoung.kim
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Yusuke Suzuki
Reported 2015-02-11 07:24:30 PST
[GTK][EFL] Suppress a warning of unused params
Attachments
Patch (1.38 KB, patch)
2015-02-11 07:25 PST, Yusuke Suzuki
darin: review+
Yusuke Suzuki
Comment 1 2015-02-11 07:25:10 PST
Darin Adler
Comment 2 2015-02-11 08:33:49 PST
Comment on attachment 246390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246390&action=review > Source/WebKit2/UIProcess/API/APIWebsiteDataStore.cpp:76 > + UNUSED_PARAM(directoryName); Normally in a case like this we would remove the argument name rather than using the UNUSED_PARAM macro.
Yusuke Suzuki
Comment 3 2015-02-11 09:55:19 PST
Comment on attachment 246390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246390&action=review >> Source/WebKit2/UIProcess/API/APIWebsiteDataStore.cpp:76 >> + UNUSED_PARAM(directoryName); > > Normally in a case like this we would remove the argument name rather than using the UNUSED_PARAM macro. Thanks for your pointing. I'll drop the argument name and land it :)
Yusuke Suzuki
Comment 4 2015-02-11 09:56:19 PST
Comment on attachment 246390 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246390&action=review >>> Source/WebKit2/UIProcess/API/APIWebsiteDataStore.cpp:76 >>> + UNUSED_PARAM(directoryName); >> >> Normally in a case like this we would remove the argument name rather than using the UNUSED_PARAM macro. > > Thanks for your pointing. > I'll drop the argument name and land it :) The name `directoryName` is noted in the header. So we can just drop it.
Yusuke Suzuki
Comment 5 2015-02-11 09:58:37 PST
Note You need to log in before you can comment on or make changes to this bug.