mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +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);
|
p = strlen(text);
|
||||||
w1 = WMWidthOfString(font, text, p);
|
w1 = WMWidthOfString(font, text, p);
|
||||||
if (w1 > width) {
|
if (w1 > width) {
|
||||||
w1 = 0;
|
|
||||||
p = 0;
|
p = 0;
|
||||||
*pos = ' ';
|
*pos = ' ';
|
||||||
*text = 0;
|
*text = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user