mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
wrlib: Value stored to 'i'|'tmpc' is never read
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
41c943e900
commit
1c6d0f38ef
@@ -87,7 +87,6 @@ static Bool addcolor(XPMColor ** list, unsigned r, unsigned g, unsigned b, int *
|
|||||||
int index;
|
int index;
|
||||||
|
|
||||||
index = r << 16 | g << 8 | b;
|
index = r << 16 | g << 8 | b;
|
||||||
tmpc = *list;
|
|
||||||
|
|
||||||
tmpc = lookfor(*list, index);
|
tmpc = lookfor(*list, index);
|
||||||
|
|
||||||
@@ -225,7 +224,6 @@ Bool RSaveXPM(RImage * image, const char *filename)
|
|||||||
fprintf(file, "\"%s c None\",\n", transp);
|
fprintf(file, "\"%s c None\",\n", transp);
|
||||||
}
|
}
|
||||||
|
|
||||||
i = 0;
|
|
||||||
outputcolormap(file, colormap, charsPerPixel);
|
outputcolormap(file, colormap, charsPerPixel);
|
||||||
|
|
||||||
r = image->data;
|
r = image->data;
|
||||||
|
|||||||
Reference in New Issue
Block a user