Fix clang warnings (bug 647280, r=luke).

This commit is contained in:
David Anderson
2011-04-14 13:45:06 -07:00
parent 7e6ee477f7
commit 5910fac2ef
10 changed files with 40 additions and 112 deletions

View File

@@ -424,7 +424,7 @@ NewIteratorObject(JSContext *cx, uintN flags)
*/
JSObject *obj = js_NewGCObject(cx, FINALIZE_OBJECT0);
if (!obj)
return false;
return NULL;
EmptyShape *emptyEnumeratorShape = EmptyShape::getEmptyEnumeratorShape(cx);
if (!emptyEnumeratorShape)