From: Matthew Fernandez Date: Sat, 5 Sep 2020 23:46:01 +0000 (-0700) Subject: squash unused variable warnings in glcompmouse.c X-Git-Tag: 2.46.0~20^2^2~86^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd4504d651856fd8ca155c48e9a91ee6783763c3;p=graphviz squash unused variable warnings in glcompmouse.c --- diff --git a/lib/glcomp/glcompmouse.c b/lib/glcomp/glcompmouse.c index 866429a45..7266fc734 100644 --- a/lib/glcomp/glcompmouse.c +++ b/lib/glcomp/glcompmouse.c @@ -45,39 +45,60 @@ void glCompMouseInit(glCompMouse * m) extern void glCompClick(glCompObj * o, GLfloat x, GLfloat y, glMouseButtonType t) { - + (void)o; + (void)x; + (void)y; + (void)t; } extern void glCompDoubleClick(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t) { - + (void)obj; + (void)x; + (void)y; + (void)t; } extern void glCompMouseDown(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t) { - + (void)obj; + (void)x; + (void)y; + (void)t; } extern void glCompMouseIn(glCompObj * obj, GLfloat x, GLfloat y) { - + (void)obj; + (void)x; + (void)y; } extern void glCompMouseOut(glCompObj * obj, GLfloat x, GLfloat y) { - + (void)obj; + (void)x; + (void)y; } extern void glCompMouseOver(glCompObj * obj, GLfloat x, GLfloat y) { - + (void)obj; + (void)x; + (void)y; } extern void glCompMouseUp(glCompObj * obj, GLfloat x, GLfloat y, glMouseButtonType t) { - + (void)obj; + (void)x; + (void)y; + (void)t; } extern void glCompMouseDrag(glCompObj * obj, GLfloat dx, GLfloat dy, glMouseButtonType t) { - + (void)obj; + (void)dx; + (void)dy; + (void)t; }