зеркало из https://github.com/mozilla/pjs.git
Build warning fixes.
This commit is contained in:
Родитель
d70a8bb5b6
Коммит
2a3e2ea765
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче