Commit da814adf authored by dcarney@chromium.org's avatar dcarney@chromium.org

fix uninitialized variable

R=ulan@chromium.org
BUG=

Review URL: https://codereview.chromium.org/12566004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13861 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b9989623
...@@ -215,7 +215,7 @@ static MaybeObject* GetPrimitiveValue( ...@@ -215,7 +215,7 @@ static MaybeObject* GetPrimitiveValue(
const PrimitiveValueDescriptor& descriptor, const PrimitiveValueDescriptor& descriptor,
char* ptr, char* ptr,
Heap* heap) { Heap* heap) {
int32_t int32_value; int32_t int32_value = 0;
switch (descriptor.data_type) { switch (descriptor.data_type) {
case kDescriptorInt8Type: case kDescriptorInt8Type:
int32_value = *CheckedCast<int8_t>(ptr); int32_value = *CheckedCast<int8_t>(ptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment