Revision: 4462
Author: [email protected]
Date: Wed Apr 21 05:16:36 2010
Log: - Fix unitialized variable error found by compiler warning.

Review URL: http://codereview.chromium.org/1700004
http://code.google.com/p/v8/source/detail?r=4462

Modified:
 /branches/bleeding_edge/src/spaces.cc

=======================================
--- /branches/bleeding_edge/src/spaces.cc       Thu Mar 25 06:10:50 2010
+++ /branches/bleeding_edge/src/spaces.cc       Wed Apr 21 05:16:36 2010
@@ -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

Reply via email to