Revision: 24699
Author:   [email protected]
Date:     Fri Oct 17 14:46:05 2014 UTC
Log:      Fix compile issue.

[email protected]

Review URL: https://codereview.chromium.org/659313003
https://code.google.com/p/v8/source/detail?r=24699

Modified:
 /branches/bleeding_edge/src/debug.cc

=======================================
--- /branches/bleeding_edge/src/debug.cc        Fri Oct 17 14:11:01 2014 UTC
+++ /branches/bleeding_edge/src/debug.cc        Fri Oct 17 14:46:05 2014 UTC
@@ -1561,14 +1561,14 @@
       BreakPointInfo* break_point_info =
           BreakPointInfo::cast(debug_info->break_points()->get(i));
       if (break_point_info->GetBreakPointCount() > 0) {
-        Smi* position;
+        Smi* position = NULL;
         switch (position_alignment) {
-        case STATEMENT_ALIGNED:
-          position = break_point_info->statement_position();
-          break;
-        case BREAK_POSITION_ALIGNED:
-          position = break_point_info->source_position();
-          break;
+          case STATEMENT_ALIGNED:
+            position = break_point_info->statement_position();
+            break;
+          case BREAK_POSITION_ALIGNED:
+            position = break_point_info->source_position();
+            break;
         }

         locations->set(count++, position);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to