[Webkit-unassigned] [Bug 225593] New: Remove unnecessary comparison and casting in GlyphBuffer.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 10 05:54:09 PDT 2021


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

            Bug ID: 225593
           Summary: Remove unnecessary comparison and casting in
                    GlyphBuffer.h
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: estea at igalia.com

Variable result in checkedStringOffsetAt in GlyphBuffer.h is unsigned. Therefore, it can never be < 0 and static cast to unsigned before comparison is unnecessary.

-- 
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/20210510/a28158c6/attachment-0001.htm>


More information about the webkit-unassigned mailing list