Bug 174485

Summary: check-webkit-style false positive for [readability/parameter_name] with declaration inside if expression.
Product: WebKit Reporter: Jeremy Jones <jeremyj-wk>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: lforschler
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jeremy Jones
Reported 2017-07-13 18:48:33 PDT
ERROR: Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.mm:337: The parameter name "playbackSessionModel" adds no information, so it should be removed. [readability/parameter_name] [5] for this code: if (WebPlaybackSessionModel* playbackSessionModel = _webVideoFullscreenInterfaceMac->webPlaybackSessionModel()) playbackSessionModel->pause();
Attachments
Note You need to log in before you can comment on or make changes to this bug.