Changeset 86008 in webkit


Ignore:
Timestamp:
May 7, 2011 3:59:09 PM (13 years ago)
Author:
dbates@webkit.org
Message:

2011-05-07 Dawit Alemayehu <adawit@kde.org>

Reviewed by Daniel Bates.

Fix compile with GCC 4.6.0
https://bugs.webkit.org/show_bug.cgi?id=60380

Remove unused local variable from code.

  • runtime/StringPrototype.cpp: (JSC::stringProtoFuncMatch):
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r85945 r86008  
     12011-05-07  Dawit Alemayehu  <adawit@kde.org>
     2
     3        Reviewed by Daniel Bates.
     4
     5        Fix compile with GCC 4.6.0
     6        https://bugs.webkit.org/show_bug.cgi?id=60380
     7
     8        Remove unused local variable from code.
     9
     10        * runtime/StringPrototype.cpp:
     11        (JSC::stringProtoFuncMatch):
     12
    1132011-05-06  Alexis Menard  <alexis.menard@openbossa.org>
    214
  • trunk/Source/JavaScriptCore/runtime/StringPrototype.cpp

    r84052 r86008  
    629629    // return array of matches
    630630    MarkedArgumentBuffer list;
    631     unsigned lastIndex = 0;
    632631    while (pos >= 0) {
    633632        list.append(jsSubstring(exec, s, pos, matchLength));
    634         lastIndex = pos;
    635633        pos += matchLength == 0 ? 1 : matchLength;
    636634        regExpConstructor->performMatch(reg.get(), s, pos, pos, matchLength);
Note: See TracChangeset for help on using the changeset viewer.