From 785845e0a10ffeac10fd9660c9c15ce082becbe1 Mon Sep 17 00:00:00 2001 From: michael_dawson Date: Tue, 5 May 2015 00:17:46 -0700 Subject: [PATCH] Fix another may not be init compile error on AIX AIX compiler is complaining that variable may not be initialized modified: src/heap/heap.cc R=danno@chromium.org, svenpanne@chromium.org, mbrandy@us.ibm.com BUG= Review URL: https://codereview.chromium.org/1123743002 Cr-Commit-Position: refs/heads/master@{#28212} --- src/heap/heap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap/heap.cc b/src/heap/heap.cc index 83fb639..8122e07 100644 --- a/src/heap/heap.cc +++ b/src/heap/heap.cc @@ -2416,7 +2416,7 @@ void Heap::ConfigureInitialOldGenerationSize() { AllocationResult Heap::AllocatePartialMap(InstanceType instance_type, int instance_size) { - Object* result; + Object* result = nullptr; AllocationResult allocation = AllocateRaw(Map::kSize, MAP_SPACE, MAP_SPACE); if (!allocation.To(&result)) return allocation; -- 2.7.4