wmaker: Value stored to 'w1' is never read

Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
Amadeusz Sławiński
2014-05-18 23:00:17 +01:00
committed by Carlos R. Mafra
parent 677117276c
commit 32c720dd86
-1
View File
@@ -279,7 +279,6 @@ char *ShrinkString(WMFont *font, const char *string, int width)
p = strlen(text);
w1 = WMWidthOfString(font, text, p);
if (w1 > width) {
w1 = 0;
p = 0;
*pos = ' ';
*text = 0;