ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive)

This was SVN commit r9423.
This commit is contained in:
janwas
2011-05-04 12:10:17 +00:00
parent 6c3b41db3f
commit 7523894760
37 changed files with 62 additions and 62 deletions
@@ -282,7 +282,7 @@ JSBool JSI_IGUIObject::getProperty(JSContext* cx, JSObject* obj, jsid id, jsval*
default:
JS_ReportError(cx, "Setting '%s' uses an unimplemented type", propName.c_str());
ENSURE(0);
DEBUG_WARN_ERR(ERR::LOGIC);
return JS_FALSE;
}