Svante Signell, le Tue 17 Jan 2012 22:18:15 +0100, a écrit :
> On Tue, 2012-01-17 at 19:48 +0100, Samuel Thibault wrote:
> > Svante Signell, le Tue 17 Jan 2012 19:24:40 +0100, a écrit :
> > > + if (!allocated) {
> > > +         allocated = 64;
> > > +         bname = malloc(allocated);
> > > +         if (!bname) {
> > > +                 allocated = 0;
> > > +                 return NULL;
> > > +         }
> > 
> > This is useless:
> > > +         bname[0] = '\0';
> 
> This was added to make valgrind happy.

How that?

Samuel


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to