mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 14:12:26 -05:00
Fix even more 'set but not used' warnings and a regression.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29873 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4f4edd89e4
commit
2aa0759077
3 changed files with 32 additions and 9 deletions
|
|
@ -813,14 +813,15 @@ static t_gobj *canvas_findhitbox(t_canvas *x, int xpos, int ypos,
|
|||
/* right-clicking on a canvas object pops up a menu. */
|
||||
static void canvas_rightclick(t_canvas *x, int xpos, int ypos, t_gobj *y)
|
||||
{
|
||||
/* int canprop, canopen; unused */
|
||||
/* canprop = */ (!y || (y && class_getpropertiesfn(pd_class(&y->g_pd))));
|
||||
/* canopen = */ (y && zgetfn(&y->g_pd, gensym("menu-open")));
|
||||
#ifdef ROCKBOX
|
||||
(void) x;
|
||||
(void) xpos;
|
||||
(void) ypos;
|
||||
(void) y;
|
||||
#else /* ROCKBOX */
|
||||
int canprop, canopen;
|
||||
canprop = (!y || (y && class_getpropertiesfn(pd_class(&y->g_pd))));
|
||||
canopen = (y && zgetfn(&y->g_pd, gensym("menu-open")));
|
||||
sys_vgui("pdtk_canvas_popup .x%x %d %d %d %d\n",
|
||||
x, xpos, ypos, canprop, canopen);
|
||||
#endif /* ROCKBOX */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue