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

From: Date: Thu, 14 Nov 2002 15:08:40 +0000
Subject: cvs: php4 /ext/gd/libgd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16150@lists.php.net to get a copy of this message
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 (#16150) next »