Reviewers: iposva, Message: TBR: iposva. Do you have a better, preferred way to solve this warning?
Description: X64: Fix compiler complaint Please review this at http://codereview.chromium.org/159079 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/x64/disasm-x64.cc Index: src/x64/disasm-x64.cc =================================================================== --- src/x64/disasm-x64.cc (revision 2513) +++ src/x64/disasm-x64.cc (working copy) @@ -1365,6 +1365,7 @@ break; default: UNREACHABLE(); + value = 0; // Avoid compiler complaint of uninitialized variable. } AppendToBuffer("test%c rax,0x%"V8_PTR_PREFIX"ux", operand_size_code(), --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
