[Webkit-unassigned] [Bug 211354] New: Use default initializers and default constructors in WebEvent.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 3 10:56:10 PDT 2020


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

            Bug ID: 211354
           Summary: Use default initializers and default constructors in
                    WebEvent.h
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: darin at apple.com, simon.fraser at apple.com

Use default initializers and default constructors in WebEvent.h.

Initially found by the clang static analyzer:

class WebPlatformTouchPoint {

    WebPlatformTouchPoint() { }
        ← 2 uninitialized fields at the end of the constructor call

private:
    unsigned m_identifier;
             ^ uninitialized field 'this->m_identifier'
    WebCore::IntPoint m_location;
    uint32_t m_phase;
             ^ uninitialized field 'this->m_phase'

};

-- 
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/20200503/e414ac3f/attachment.htm>


More information about the webkit-unassigned mailing list