Re: cvs: php4 /ext/gd/libgd gd.c

From: Date: Thu, 14 Nov 2002 15:27:49 +0000
Subject: Re: cvs: php4 /ext/gd/libgd gd.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16155@lists.php.net to get a copy of this message
Which compiler are you using and with which options that gave you warning(s) on these lines? Ilia On November 14, 2002 10:08 am, Marcus Boerger wrote: > helly Thu Nov 14 10:08:40 2002 EDT > > Modified files: > /php4/ext/gd/libgd gd.c > Log: > Fix warnings (Marcus & Pierre-Alain Joye) > > > Index: php4/ext/gd/libgd/gd.c > diff -u php4/ext/gd/libgd/gd.c:1.25 php4/ext/gd/libgd/gd.c:1.26 > --- php4/ext/gd/libgd/gd.c:1.25 Wed Nov 13 15:02:58 2002 > +++ php4/ext/gd/libgd/gd.c Thu Nov 14 10:08:39 2002 > @@ -2215,7 +2215,7 @@ > int i, r, g, b, a; > FuncPtr f; > > - int pxlOldLeft, pxlLeft, pxlSrc; > + int pxlOldLeft, pxlLeft=0, pxlSrc; > > if (src->trueColor) { > f = gdImageGetTrueColorPixel; > @@ -2301,7 +2301,7 @@ > typedef int (*FuncPtr)(gdImagePtr, int, int); > int i, iYPos=0, r, g, b, a; > FuncPtr f; > - int pxlOldLeft, pxlLeft, pxlSrc; > + int pxlOldLeft, pxlLeft=0, pxlSrc; > > if (src->trueColor) { > f = gdImageGetTrueColorPixel;

« previous php.cvs (#16155) next »