Bug 201285 - Remove extra braces
Summary: Remove extra braces
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keith Rollin
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-28 21:15 PDT by Keith Rollin
Modified: 2019-08-30 08:29 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.58 KB, patch)
2019-08-29 15:52 PDT, Keith Rollin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Rollin 2019-08-28 21:15:00 PDT
Some code evolved such that there was only a single statement under an 'if' statement. The parentheses surrounding the single-line block can now be removed.
Comment 1 Radar WebKit Bug Importer 2019-08-28 21:15:13 PDT
<rdar://problem/54822225>
Comment 2 Keith Rollin 2019-08-29 15:51:57 PDT
Braces, not parentheses.
Comment 3 Keith Rollin 2019-08-29 15:52:38 PDT
Created attachment 377644 [details]
Patch
Comment 4 WebKit Commit Bot 2019-08-30 08:29:43 PDT
Comment on attachment 377644 [details]
Patch

Clearing flags on attachment: 377644

Committed r249326: <https://trac.webkit.org/changeset/249326>
Comment 5 WebKit Commit Bot 2019-08-30 08:29:44 PDT
All reviewed patches have been landed.  Closing bug.