From 685a6d9aab5fe9f8f66193b407e29126876b84c6 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 26 Apr 2013 08:09:19 +0200 Subject: [PATCH] #64710, kill unused vars --- ext/gd/libgd/gd.c | 3 --- 1 file changed, 3 deletions(-) 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++) { -- 2.40.0