mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-22 10:05:46 +01:00
WINGs: Value stored to 'aw' is never read
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
0db65843ff
commit
9384e3273f
@@ -545,13 +545,11 @@ WMGenericPanel *WMCreateGenericPanel(WMScreen * scrPtr, WMWindow * owner,
|
|||||||
|
|
||||||
w = WMAX(dw, aw);
|
w = WMAX(dw, aw);
|
||||||
if ((w + 10) * 2 < 400) {
|
if ((w + 10) * 2 < 400) {
|
||||||
aw = w;
|
|
||||||
dw = w;
|
dw = w;
|
||||||
} else {
|
} else {
|
||||||
int t;
|
int t;
|
||||||
|
|
||||||
t = 400 - 40 - aw - dw;
|
t = 400 - 40 - aw - dw;
|
||||||
aw += t / 2;
|
|
||||||
dw += t / 2;
|
dw += t / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user