From: Pierre Joye Date: Fri, 26 Apr 2013 06:09:19 +0000 (+0200) Subject: #64710, kill unused vars X-Git-Tag: php-5.5.0RC1~32^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=685a6d9aab5fe9f8f66193b407e29126876b84c6;p=php #64710, kill unused vars --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 093e35a53b..794d276dfa 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -2352,8 +2352,6 @@ void gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int int colorMap[gdMaxColors]; /* Stretch vectors */ int *stx, *sty; - /* We only need to use floating point to determine the correct stretch vector for one line's worth. */ - double accum; if (overflow2(sizeof(int), srcW)) { return; @@ -2364,7 +2362,6 @@ void gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int stx = (int *) gdMalloc (sizeof (int) * srcW); sty = (int *) gdMalloc (sizeof (int) * srcH); - accum = 0; /* Fixed by Mao Morimoto 2.0.16 */ for (i = 0; (i < srcW); i++) {