wmmenu: Fix -Wunused-value compiler warnings.
This commit is contained in:
parent
93bb8f6267
commit
28ea752c44
|
@ -130,6 +130,8 @@ extern void ButtonBar_SetPositionFromDockApp (int dockx, int docky,
|
|||
int xMid, scrWidth, h, scrHeight ;
|
||||
int x, y ;
|
||||
|
||||
(void) dockh;
|
||||
|
||||
/* compute y */
|
||||
scrHeight = DisplayHeight (DADisplay, DefaultScreen (DADisplay)) ;
|
||||
y = docky ;
|
||||
|
|
|
@ -148,6 +148,10 @@ static void InvokeBar (int x, int y)
|
|||
|
||||
static void PressApp (int button, int state, int x, int y)
|
||||
{
|
||||
(void) button;
|
||||
(void) state;
|
||||
(void) x;
|
||||
(void) y;
|
||||
if (BarShown) LeaveBar () ;
|
||||
else EnterApp () ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue