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

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 13:32:44 +02:00
committed by Carlos R. Mafra
parent 677117276c
commit 32c720dd86

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;