Bug 255532 - Checking if the vector is empty is redundant
Summary: Checking if the vector is empty is redundant
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-17 10:23 PDT by Seija K.
Modified: 2023-04-19 12:48 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>