Build warning fixes.

git-svn-id: svn://10.0.0.236/trunk@117704 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2002-03-28 22:53:08 +00:00
parent ec85a272b9
commit ef9d692462
2 changed files with 3 additions and 6 deletions

View File

@@ -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;

View File

@@ -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;