From 9a8d1ca8b84139d174ec945a9de014d6b8d43950 Mon Sep 17 00:00:00 2001 From: Donald Alan Morrison Date: Mon, 20 Aug 2012 14:18:12 -0700 Subject: [PATCH] Silenced Static Analyzer Warning by removing unneeded assignment. (Value never read.) --- cocos2dx/actions/CCAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/actions/CCAction.cpp b/cocos2dx/actions/CCAction.cpp index c8f6d14c2b..4097900773 100644 --- a/cocos2dx/actions/CCAction.cpp +++ b/cocos2dx/actions/CCAction.cpp @@ -76,7 +76,7 @@ CCObject* CCAction::copyWithZone(CCZone *pZone) else { pRet = new CCAction(); - pZone = pNewZone = new CCZone(pRet); + pNewZone = new CCZone(pRet); } //copy member data pRet->m_nTag = m_nTag;