Reviewers: antonm, Description: - Fix unitialized variable error found by compiler warning.
Please review this at http://codereview.chromium.org/1700004/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/spaces.cc Index: src/spaces.cc =================================================================== --- src/spaces.cc (revision 4460) +++ src/spaces.cc (working copy) @@ -1363,7 +1363,7 @@ static void ReportCodeKindStatistics() { - const char* table[Code::NUMBER_OF_KINDS]; + const char* table[Code::NUMBER_OF_KINDS] = { NULL }; #define CASE(name) \ case Code::name: table[Code::name] = #name; \ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
