This commit is contained in:
rogerl%netscape.com 2002-03-28 22:53:08 +00:00
Родитель d70a8bb5b6
Коммит 2a3e2ea765
2 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -3362,12 +3362,9 @@ Context::Context(JSObject **global, World &world, Arena &a, Pragma::Flags flags)
mLocals(NULL),
mArgumentBase(NULL),
mReader(NULL),
mGlobal(global),
mErrorReporter(NULL),
argumentFormatMap(NULL)
argumentFormatMap(NULL),
mGlobal(global)
{
uint32 i;

Просмотреть файл

@ -272,7 +272,7 @@ static js2val String_replace(Context *cx, const js2val thisValue, js2val *argv,
if (JSValue::getType(searchValue) == RegExp_Type) {
REState *pState = (checked_cast<JSRegExpInstance *>(JSValue::instance(searchValue)))->mRegExp;
REMatchState *match;
uint32 m = pState->parenCount;
// uint32 m = pState->parenCount;
String newString;
int32 lastIndex = 0;