mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 07:55:49 +00:00
ENSURE(0) -> DEBUG_WARN_ERR(ERR::LOGIC) (a bit smaller, and more descriptive)
This was SVN commit r9423.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user