Warning patrol. No bug, r=terrence

This commit is contained in:
Jeff Walden
2012-06-11 17:17:19 -07:00
parent c5fda40c85
commit 0d56b6973b
17 changed files with 37 additions and 31 deletions

View File

@@ -285,7 +285,7 @@ Snapshot(JSContext *cx, JSObject *obj_, unsigned flags, AutoIdVector *props)
{
IdSet ht(cx);
if (!ht.init(32))
return NULL;
return false;
RootedObject obj(cx, obj_), pobj(cx);
pobj = obj;