From 1a31f9a2f78f638815cb51e182ea02326b02ba26 Mon Sep 17 00:00:00 2001 From: "iposva@chromium.org" Date: Wed, 21 Apr 2010 12:16:36 +0000 Subject: [PATCH] - Fix unitialized variable error found by compiler warning. Review URL: http://codereview.chromium.org/1700004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4462 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/spaces.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaces.cc b/src/spaces.cc index 5f191ed..a9b98bf 100644 --- a/src/spaces.cc +++ b/src/spaces.cc @@ -1363,7 +1363,7 @@ static void ClearCodeKindStatistics() { 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; \ -- 2.7.4