Skip to content

Commit fd063f0

Browse files
committed
fix warning
1 parent 6561f7e commit fd063f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cocos/2d/CCNode.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,6 +1590,9 @@ void Node::scheduleUpdateWithPriority(int priority)
15901590

15911591
void Node::scheduleUpdateWithPriorityLua(int nHandler, int priority)
15921592
{
1593+
#if !(CC_ENABLE_SCRIPT_BINDING)
1594+
CC_UNUSED_PARAM(nHandler);
1595+
#endif
15931596
unscheduleUpdate();
15941597

15951598
#if CC_ENABLE_SCRIPT_BINDING

0 commit comments

Comments
 (0)