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 / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | lforschler |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jeremy Jones
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |