Skip to content

Commit 2490553

Browse files
committed
steve: cocos2d-x fix warning
1 parent 9bcb51f commit 2490553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/base/CCScriptSupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ class CC_DLL ScriptEngineProtocol
801801

802802
/** Remove proxy for a native object
803803
*/
804-
virtual void removeObjectProxy(Ref* obj) {}
804+
virtual void removeObjectProxy(Ref* obj) { CC_UNUSED_PARAM(obj); }
805805

806806
/** Triggers the garbage collector */
807807
virtual void garbageCollect() {}

0 commit comments

Comments
 (0)