[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

ggaren at apple.com ggaren at apple.com
Thu Oct 29 20:42:16 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit c98774e6590c607ff72853fe736724ef1a5d9072
Author: ggaren at apple.com <ggaren at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 9 03:37:39 2009 +0000

    Tiger build fix: initialize variable whose initialization the compiler
    can't otherwise figure out.
    
    Patch by Geoffrey Garen <ggaren at apple.com> on 2009-10-08
    * runtime/RegExpObject.cpp:
    (JSC::RegExpObject::match):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 6ec3d8c..9da2a4a 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,5 +1,13 @@
 2009-10-08  Geoffrey Garen  <ggaren at apple.com>
 
+        Tiger build fix: initialize variable whose initialization the compiler
+        can't otherwise figure out.
+
+        * runtime/RegExpObject.cpp:
+        (JSC::RegExpObject::match):
+
+2009-10-08  Geoffrey Garen  <ggaren at apple.com>
+
         Windows build fix: updated exports.
 
         * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
diff --git a/JavaScriptCore/runtime/RegExpObject.cpp b/JavaScriptCore/runtime/RegExpObject.cpp
index 877d7b6..679d072 100644
--- a/JavaScriptCore/runtime/RegExpObject.cpp
+++ b/JavaScriptCore/runtime/RegExpObject.cpp
@@ -159,7 +159,7 @@ bool RegExpObject::match(ExecState* exec, const ArgList& args)
     }
 
     int position;
-    int length;
+    int length = 0;
     regExpConstructor->performMatch(d->regExp.get(), input, static_cast<int>(d->lastIndex), position, length);
     if (position < 0) {
         d->lastIndex = 0;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list