Build warning fixes.
git-svn-id: svn://10.0.0.236/trunk@117704 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user