[Webkit-unassigned] [Bug 174485] New: style check fails positive for declaration inside if expression.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 13 18:48:33 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174485

            Bug ID: 174485
           Summary: style check fails positive for declaration inside if
                    expression.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeremyj-wk at apple.com
                CC: lforschler at apple.com

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();

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170714/060319b5/attachment.html>


More information about the webkit-unassigned mailing list