mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
committed by
Carlos R. Mafra
parent
677117276c
commit
32c720dd86
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user