Bug 27058 - Removed superfluous parenthesis around single expression
Summary: Removed superfluous parenthesis around single expression
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: S60 Emulator S60 3rd edition
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 27065
  Show dependency treegraph
 
Reported: 2009-07-07 19:14 PDT by Norbert Leser
Modified: 2009-07-13 01:30 PDT (History)
3 users (show)

See Also:


Attachments
Code patch for Platform.h (1.79 KB, patch)
2009-07-07 19:14 PDT, Norbert Leser
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norbert Leser 2009-07-07 19:14:28 PDT
Created attachment 32417 [details]
Code patch for Platform.h

Compilers on Symbian platform fail to parse and compile a statement such as:
defined( ENABLE_##WTF_FEATURE ) && ENABLE_##WTF_FEATURE

The proposed patch removes the unnecessary parenthesis, which is save on any platform.
Comment 1 Maciej Stachowiak 2009-07-10 15:10:26 PDT
Comment on attachment 32417 [details]
Code patch for Platform.h

r=me
Comment 2 Simon Hausmann 2009-07-13 01:30:53 PDT
Landed in r45793