Projects > cpp > Issues > Bug #531

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

Create Issue on Github

Change the usage of (xxx != NULL) to determine if the pointer is null

Bug #531 [Closed]
zhangxm 2011-06-21 02:14 . Updated over 4 years ago

In some environments, if use

if (xxx)

The condition will be false all the time no matter the value of xxx.

Detail description\#message-1982

liswei 2011-06-21 19:51
  • Status changed from New to In Progress
  • Assignee set to liswei 2011-07-11 18:50
  • Status changed from In Progress to Closed

Manually merged. 2012-05-25 08:10
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.0-x-0.9.0)

Atom PDF

Start date:2011-06-21
Due date:
% Done:


Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.