From d66a3870d4ed6228120564bb2f96a6bba312ba95 Mon Sep 17 00:00:00 2001 From: yinkaile <501251991@qq.com> Date: Fri, 7 Jun 2013 20:07:01 +0800 Subject: [PATCH] Standardize code --- extensions/CCArmature/physics/CCColliderDetector.cpp | 1 - extensions/CCArmature/utils/CCDataReaderHelper.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/extensions/CCArmature/physics/CCColliderDetector.cpp b/extensions/CCArmature/physics/CCColliderDetector.cpp index a120ef4f81..b88ec65527 100644 --- a/extensions/CCArmature/physics/CCColliderDetector.cpp +++ b/extensions/CCArmature/physics/CCColliderDetector.cpp @@ -65,7 +65,6 @@ CCColliderDetector::~CCColliderDetector() { ColliderBody *colliderBody = (ColliderBody *)object; - CCContourData *contourData = colliderBody->getContourData(); b2Body *body = colliderBody->getB2Body(); CCPhysicsWorld::sharedPhysicsWorld()->getNoGravityWorld()->DestroyBody(body); } diff --git a/extensions/CCArmature/utils/CCDataReaderHelper.cpp b/extensions/CCArmature/utils/CCDataReaderHelper.cpp index cc824f6faf..7e451b65ef 100644 --- a/extensions/CCArmature/utils/CCDataReaderHelper.cpp +++ b/extensions/CCArmature/utils/CCDataReaderHelper.cpp @@ -115,7 +115,6 @@ static const char *FL_NAN = "NaN"; static const char *FRAME_DATA = "frame_data"; static const char *MOVEMENT_BONE_DATA = "mov_bone_data"; -static const char *MOVEMENT_FRAME_DATA = "mov_frame_data"; static const char *MOVEMENT_DATA = "mov_data"; static const char *ANIMATION_DATA = "animation_data"; static const char *DISPLAY_DATA = "display_data";