Bug 255532

Summary: Checking if the vector is empty is redundant
Product: WebKit Reporter: Seija K. <doremylover123>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Seija K. 2023-04-17 10:23:33 PDT
No need to call .isEmpty() if we always check to see if it is at least the size of an uint32_t.
Comment 1 EWS 2023-04-19 12:47:07 PDT
Committed 263141@main (1fb67415dc15): <https://commits.webkit.org/263141@main>

Reviewed commits have been landed. Closing PR #12812 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-04-19 12:48:19 PDT
<rdar://problem/108275572>