1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

WPrefs: Value stored to 'timage' is never read

three times in a row

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-13 23:41:31 +02:00
committed by Carlos R. Mafra
parent 4b744d517b
commit 2cb3119e08

View File

@@ -646,18 +646,15 @@ static Pixmap renderTexture(WMScreen * scr, WMPropList * texture, int width, int
case 'T':
image = RMakeTiledImage(timage, width, height);
RReleaseImage(timage);
timage = image;
break;
case 'C':
image = RMakeCenteredImage(timage, width, height, &color);
RReleaseImage(timage);
timage = image;
break;
case 'S':
case 'M':
image = RScaleImage(timage, width, height);
RReleaseImage(timage);
timage = image;
break;
}
}