Fixed non-debug builds.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3948 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-01-01 15:48:38 +00:00
parent ecfef79f97
commit c7e0b2d17e

View File

@ -1715,7 +1715,10 @@ BOOL OOJSObjectGetterImpl(JSContext *context, JSObject *object, JSClass *require
{
OOJS_PROFILE_ENTER
NSCParameterAssert(context != NULL && object != NULL && requiredJSClass != NULL && requiredObjCClass != Nil && outObject != NULL);
NSCParameterAssert(context != NULL && object != NULL && requiredJSClass != NULL && outObject != NULL);
#ifndef NDEBUG
NSCParameterAssert(requiredObjCClass != Nil);
#endif
/*
Ensure it's a valid type of JS object. This is absolutely necessary,