diff --git a/wmmenu/buttonbar.c b/wmmenu/buttonbar.c index 210318a..619cde6 100644 --- a/wmmenu/buttonbar.c +++ b/wmmenu/buttonbar.c @@ -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 ; diff --git a/wmmenu/events.c b/wmmenu/events.c index 0498635..11403d0 100644 --- a/wmmenu/events.c +++ b/wmmenu/events.c @@ -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 () ; }