We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Uninitialized variables in extensions/CocoStudio/Reader/CCSGUIReader.cpp
Uninitialized variables in extensions/CocoStudio/Reader/CCSGUIReader.cpp
Bug #3021 [Closed]
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8234
Status: | Closed | |
---|---|---|
Start date: | 2013-10-21 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | all | |
Target version: | - |
In commit d02dfb3 from october 8th the variable dicHelper is initialized on line 99 and 200 as:
DictionaryHelper* dicHelper = dicHelper;
This throws fatal error c4700 (Uninitialized local variable ‘dicHelper’ used) in Visual Studio 2012. Looking at the previous code, I believe/guess that the correct initialization should be:
DictionaryHelper* dicHelper = DICTOOL;