Projects > cpp > Issues > Bug #3021

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Uninitialized variables in extensions/CocoStudio/Reader/CCSGUIReader.cpp

Bug #3021 [Closed]
froxul 2013-10-21 20:32 . Updated over 10 years ago

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;

walzer@cocos2d-x.org 2014-10-08 02:54

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

Atom PDF

Status:Closed
Start date:2013-10-21
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-