Fix warnings in js/src (no bug, r=me)

This commit is contained in:
Luke Wagner 2012-03-28 09:11:54 -07:00
parent 5a664afd4c
commit dc68df2e67
2 changed files with 2 additions and 1 deletions

View File

@ -5797,7 +5797,6 @@ EmitObject(JSContext *cx, BytecodeEmitter *bce, ParseNode *pn)
return false;
}
unsigned methodInits = 0, slowMethodInits = 0;
for (ParseNode *pn2 = pn->pn_head; pn2; pn2 = pn2->pn_next) {
/* Emit an index for t[2] for later consumption by JSOP_INITELEM. */
ParseNode *pn3 = pn2->pn_left;

View File

@ -51,6 +51,8 @@
#include "gc/Statistics.h"
#include "gc/Barrier-inl.h"
namespace js {
namespace gcstats {