Bug 98854 - Initialize $written variable in load-and-stall.php script
Summary: Initialize $written variable in load-and-stall.php script
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: noel gordon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 21:37 PDT by noel gordon
Modified: 2012-10-09 23:02 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.20 KB, patch)
2012-10-09 21:38 PDT, noel gordon
no flags Details | Formatted Diff | Diff
Patch (1.25 KB, patch)
2012-10-09 21:41 PDT, noel gordon
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description noel gordon 2012-10-09 21:37:38 PDT
Initialize $written variable in load-sand-stall.php script
Comment 1 noel gordon 2012-10-09 21:38:15 PDT
Created attachment 167915 [details]
Patch
Comment 2 noel gordon 2012-10-09 21:41:08 PDT
Created attachment 167916 [details]
Patch
Comment 3 Kent Tamura 2012-10-09 22:41:11 PDT
Comment on attachment 167916 [details]
Patch

AFAIK $written is initialized as 0 implicitly. Adding the initialization is good for code readability.
Comment 4 noel gordon 2012-10-09 22:47:01 PDT
Indeed. All bets are off if you include a script in another, however :(
Comment 5 WebKit Review Bot 2012-10-09 23:02:50 PDT
Comment on attachment 167916 [details]
Patch

Clearing flags on attachment: 167916

Committed r130852: <http://trac.webkit.org/changeset/130852>
Comment 6 WebKit Review Bot 2012-10-09 23:02:54 PDT
All reviewed patches have been landed.  Closing bug.