diff --git a/src/rootmenu.c b/src/rootmenu.c index 10e2397d..d508c062 100644 --- a/src/rootmenu.c +++ b/src/rootmenu.c @@ -1509,6 +1509,9 @@ static WMenu *configureMenu(WScreen * scr, WMPropList * definition, Bool include wMenuEntrySetCascade(menu, mentry, submenu); } } +#else + /* Parameter not used, but tell the compiler that it is ok */ + (void) includeGlobals; #endif for (i = 1; i < count; i++) { diff --git a/src/superfluous.c b/src/superfluous.c index e33e6eb7..0883cc11 100644 --- a/src/superfluous.c +++ b/src/superfluous.c @@ -176,6 +176,9 @@ void DoWindowBirth(WWindow *wwin) center_y = wwin->frame_y + (height - h) / 2; animateResize(scr, center_x, center_y, 1, 1, wwin->frame_x, wwin->frame_y, width, height); +#else + /* Parameter not used, but tell the compiler that it is ok */ + (void) wwin; #endif }