Title: [122033] trunk/Source/_javascript_Core
Revision
122033
Author
[email protected]
Date
2012-07-06 13:41:09 -0700 (Fri, 06 Jul 2012)

Log Message

Build Error on Qt Linux build
https://bugs.webkit.org/show_bug.cgi?id=90699

Patch by Pravin D <[email protected]> on 2012-07-06
Reviewed by Laszlo Gombos.

* parser/Parser.cpp:
(JSC::::parseForStatement):
Removed unused boolean variable as this was causing build error on Qt Linux.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (122032 => 122033)


--- trunk/Source/_javascript_Core/ChangeLog	2012-07-06 20:22:57 UTC (rev 122032)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-07-06 20:41:09 UTC (rev 122033)
@@ -1,3 +1,14 @@
+2012-07-06  Pravin D  <[email protected]>
+
+        Build Error on Qt Linux build
+        https://bugs.webkit.org/show_bug.cgi?id=90699
+
+        Reviewed by Laszlo Gombos.
+
+        * parser/Parser.cpp:
+        (JSC::::parseForStatement):
+        Removed unused boolean variable as this was causing build error on Qt Linux.
+
 2012-07-06  Nuno Lopes  <[email protected]>
 
         Fix build with recent clang.

Modified: trunk/Source/_javascript_Core/parser/Parser.cpp (122032 => 122033)


--- trunk/Source/_javascript_Core/parser/Parser.cpp	2012-07-06 20:22:57 UTC (rev 122032)
+++ trunk/Source/_javascript_Core/parser/Parser.cpp	2012-07-06 20:41:09 UTC (rev 122033)
@@ -313,14 +313,12 @@
     int declsStart = 0;
     int declsEnd = 0;
     TreeExpression decls = 0;
-    bool hasDeclaration = false;
     if (match(VAR)) {
         /*
          for (var IDENT in _expression_) statement
          for (var IDENT = _expression_ in _expression_) statement
          for (var varDeclarationList; expressionOpt; expressionOpt)
          */
-        hasDeclaration = true;
         const Identifier* forInTarget = 0;
         TreeExpression forInInitializer = 0;
         m_allowsIn = false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to