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 authored and Carlos R. Mafra committed 2014-05-18 23:00:17 +01:00
1 parent 677117276c
commit 32c720dd86
1 file changed
-1
-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;