FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GtkD 1.71 error in glib.ListSG

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Lysander



Joined: 13 Sep 2011
Posts: 5

PostPosted: Mon Apr 01, 2013 3:09 pm    Post subject: GtkD 1.71 error in glib.ListSG Reply with quote

Unnecessary check for 'next' being null Smile

Thanks.

Code:

void* data()
{
   if ( getListSGStruct().next is null )
   {
      return null;
   }
      
   return getListSGStruct().data;
}
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group