diff --git a/WINGs/wmenuitem.c b/WINGs/wmenuitem.c index 1f51bcaf..ac813c5b 100644 --- a/WINGs/wmenuitem.c +++ b/WINGs/wmenuitem.c @@ -33,6 +33,9 @@ WMMenuItem *WMGetSeparatorMenuItem(void) Bool WMMenuItemIsSeparator(WMMenuItem * item) { + /* Parameter not used, but tell the compiler that it is ok */ + (void) item; + return False; } diff --git a/WINGs/wtext.c b/WINGs/wtext.c index e9053cda..80295bcb 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -3473,6 +3473,10 @@ static void destroyWidget(WMWidget * widget) void WMDestroyTextBlock(WMText * tPtr, void *vtb) { TextBlock *tb = (TextBlock *) vtb; + + /* Parameter not used, but tell the compiler that it is ok */ + (void) tPtr; + if (!tb) return;