Bug 786339 - Remove two implicit conversions from NULL to false in the JS code; r=luke

This commit is contained in:
Ehsan Akhgari
2012-08-28 13:22:42 -04:00
parent 146a9b4c50
commit fa3c3a0e9b
2 changed files with 2 additions and 2 deletions

View File

@@ -335,7 +335,7 @@ frontend::CompileFunctionBody(JSContext *cx, HandleFunction fun, CompileOptions
return false;
if (!NameFunctions(cx, pn))
return NULL;
return false;
if (fn->pn_body) {
JS_ASSERT(fn->pn_body->isKind(PNK_ARGSBODY));