From: Marcus Boerger Date: Thu, 14 Nov 2002 15:08:39 +0000 (+0000) Subject: Fix warnings (Marcus & Pierre-Alain Joye) X-Git-Tag: BEFORE_RENAMING~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a391c4b12b6c96bca7b68f187aac49f2f904e4c9;p=php Fix warnings (Marcus & Pierre-Alain Joye) --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index cc407d6cc3..0c33d23113 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -2215,7 +2215,7 @@ void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double 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 @@ void gdImageSkewY (gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double 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;