Reviewers: iposva, Message: TBR
Description: Initialize the variable to a valid value. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=541 Please review this at http://codereview.chromium.org/7826 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/factory.cc Index: src/factory.cc =================================================================== --- src/factory.cc (revision 540) +++ src/factory.cc (working copy) @@ -683,7 +683,7 @@ } int instance_size = kPointerSize * internal_field_count; - InstanceType type; + InstanceType type = JS_OBJECT_TYPE; // initialize to a valid value switch (instance_type) { case JavaScriptObject: type = JS_OBJECT_TYPE; --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
