summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-23 11:18:42 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-23 11:18:42 (GMT)
commit97d28c26ba981332f51ab81024bb8b0224afeb81 (patch)
tree9c03fd067695043b3a061ad192b6f45e2cf6ecba /src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp
parentd48c3129992bf4b962201fa908f37f0e2a61f7c4 (diff)
parent180d9189e8098d98848367f673fff723ddd1d068 (diff)
downloadQt-97d28c26ba981332f51ab81024bb8b0224afeb81.zip
Qt-97d28c26ba981332f51ab81024bb8b0224afeb81.tar.gz
Qt-97d28c26ba981332f51ab81024bb8b0224afeb81.tar.bz2
Merge branch '4.6' of git@scm.dev.troll.no:qt/qt-s60-public into 4.6
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp b/src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp
index 877d7b6..679d072 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/RegExpObject.cpp
+++ b/src/3rdparty/webkit/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;