Bug 53087 - Refactoring: replaced a hanging "else" with a "return" statement
Summary: Refactoring: replaced a hanging "else" with a "return" statement
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 07:35 PST by Marcilio
Modified: 2011-01-25 10:28 PST (History)
3 users (show)

See Also:


Attachments
Patch (2.37 KB, patch)
2011-01-25 07:57 PST, Marcilio
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcilio 2011-01-25 07:35:51 PST
Refactoring: replaced a hanging "else" within an #if PLATFORM(MAC) block with a "return" statement so that the code is hopefully easier to read and less error prone.
Comment 1 Marcilio 2011-01-25 07:57:40 PST
Created attachment 80065 [details]
Patch
Comment 2 Darin Adler 2011-01-25 08:24:36 PST
Comment on attachment 80065 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=80065&action=review

> Source/JavaScriptCore/ChangeLog:10
> +        with a "return" so that the code is more readable and less error pro

prone
Comment 3 WebKit Commit Bot 2011-01-25 10:28:42 PST
Comment on attachment 80065 [details]
Patch

Clearing flags on attachment: 80065

Committed r76609: <http://trac.webkit.org/changeset/76609>
Comment 4 WebKit Commit Bot 2011-01-25 10:28:47 PST
All reviewed patches have been landed.  Closing bug.