Signed-off-by: Amadeusz Sławiński <[email protected]>
---
 wrlib/save_xpm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/wrlib/save_xpm.c b/wrlib/save_xpm.c
index 3e6c976..08cb52e 100644
--- a/wrlib/save_xpm.c
+++ b/wrlib/save_xpm.c
@@ -87,7 +87,6 @@ static Bool addcolor(XPMColor ** list, unsigned r, unsigned 
g, unsigned b, int *
        int index;
 
        index = r << 16 | g << 8 | b;
-       tmpc = *list;
 
        tmpc = lookfor(*list, index);
 
@@ -225,7 +224,6 @@ Bool RSaveXPM(RImage * image, const char *filename)
                fprintf(file, "\"%s c None\",\n", transp);
        }
 
-       i = 0;
        outputcolormap(file, colormap, charsPerPixel);
 
        r = image->data;
-- 
1.9.3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to