diff --git a/cocos2dx/actions/CCActionInstant.h b/cocos2dx/actions/CCActionInstant.h index 334119446c..11e607fb73 100644 --- a/cocos2dx/actions/CCActionInstant.h +++ b/cocos2dx/actions/CCActionInstant.h @@ -215,8 +215,8 @@ class CC_DLL CCCallFunc : public CCActionInstant // public: CCCallFunc() : m_pSelectorTarget(NULL) - , m_pCallFunc(NULL) , m_nScriptHandler(0) + , m_pCallFunc(NULL) { } virtual ~CCCallFunc() diff --git a/samples/TestCpp/Classes/KeypadTest/KeypadTest.cpp b/samples/TestCpp/Classes/KeypadTest/KeypadTest.cpp index 9720f7c165..c5d0cea32e 100644 --- a/samples/TestCpp/Classes/KeypadTest/KeypadTest.cpp +++ b/samples/TestCpp/Classes/KeypadTest/KeypadTest.cpp @@ -1,7 +1,6 @@ #include "KeypadTest.h" KeypadTest::KeypadTest() -: m_bShow(true) { CCSize s = CCDirector::sharedDirector()->getWinSize(); CCLabelTTF* label = CCLabelTTF::create("Keypad Test", "Arial", 28); diff --git a/samples/TestCpp/Classes/KeypadTest/KeypadTest.h b/samples/TestCpp/Classes/KeypadTest/KeypadTest.h index 9bd1f30463..f9d56d2835 100644 --- a/samples/TestCpp/Classes/KeypadTest/KeypadTest.h +++ b/samples/TestCpp/Classes/KeypadTest/KeypadTest.h @@ -15,7 +15,6 @@ public: private: CCLabelTTF* m_pLabel; - bool m_bShow; }; class KeypadTestScene : public TestScene