Reviewers: floitschv8_gmail.com,

Message:
Add an unneeded initialization of a local to make the Mac compiler happy.

Description:
Fix Mac compilation error in revision 5491.  Initialize a local variable.

Please review this at http://codereview.chromium.org/3402016/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/fast-dtoa.cc


Index: src/fast-dtoa.cc
===================================================================
--- src/fast-dtoa.cc    (revision 5492)
+++ src/fast-dtoa.cc    (working copy)
@@ -702,7 +702,7 @@
   ASSERT(!Double(v).IsSpecial());

   bool result = false;
-  int decimal_exponent;
+  int decimal_exponent = 0;
   switch (mode) {
     case FAST_DTOA_SHORTEST:
       result = Grisu3(v, buffer, length, &decimal_exponent);


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to