mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 06:05:45 +01:00
WPrefs: Marked args as unused for compiler in callback code
The function is a callback, which means having a fixed argument list. It is then correct to not use all the arguments, so this patch adds the appropriate stuff to avoid a false report from compiler. Signed-off-by: Christophe CURIS <christophe.curis@free.fr> Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
committed by
Carlos R. Mafra
parent
5e9ebfea76
commit
f8d9e4cd53
@@ -1274,6 +1274,9 @@ static void menuItemEdited(struct WEditMenuDelegate *delegate, WEditMenu * menu,
|
||||
_Panel *panel = (_Panel *) delegate->data;
|
||||
WEditMenu *submenu;
|
||||
|
||||
/* Parameter not used, but tell the compiler it is ok */
|
||||
(void) menu;
|
||||
|
||||
updateFrameTitle(panel, WGetEditMenuItemTitle(item), panel->currentType);
|
||||
|
||||
submenu = WGetEditMenuSubmenu(item);
|
||||
|
||||
Reference in New Issue
Block a user