From 32c720dd860df032808fab75e7a5f00b19a88d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Sun, 18 May 2014 13:32:44 +0200 Subject: [PATCH] wmaker: Value stored to 'w1' is never read MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Amadeusz Sławiński --- src/misc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/misc.c b/src/misc.c index 4d008a3b..63e71583 100644 --- a/src/misc.c +++ b/src/misc.c @@ -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;