[Webkit-unassigned] [Bug 255531] New: Checking if the vector is empty is redundant

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 17 10:23:05 PDT 2023


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

            Bug ID: 255531
           Summary: Checking if the vector is empty is redundant
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: doremylover123 at gmail.com

No need to call .isEmpty() if we always check to see if it is at least the size of an uint32_t.

-- 
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/20230417/593f8b98/attachment.htm>


More information about the webkit-unassigned mailing list