[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kdeui
From:       Espen Sand <espensa () online ! no>
Date:       2000-07-14 14:11:46
[Download RAW message or body]

On Fri, 14 Jul 2000, Stephan Kulow wrote:
> CVS by espen wrote:
> > 
> > kdelibs/kdeui kjanuswidget.cpp,1.31,1.32
> > Author: espen
> > CVSROOT: /home/kde
> > Fri Jul 14 09:43:46 UTC 2000
> > Update of /home/kde/kdelibs/kdeui
> > cvs.kde.org hosted by sourceforge.net
> > 
> > Modified Files:
> >         kjanuswidget.cpp
> > Log Message:
> > 
> > Removed a bunch of "if( !pointer )" after allocation with
> > new. Nothing useful but bloat since our new does not return
> > 0 if the allocation failed.
> 
> But?

??
if the returned pointer is not zero even if allocation failed then no need to 
test for it.


-- 
Espen Sand

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic