From fd4504d651856fd8ca155c48e9a91ee6783763c3 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 5 Sep 2020 16:46:01 -0700 Subject: [PATCH] squash unused variable warnings in glcompmouse.c --- lib/glcomp/glcompmouse.c | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) 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; } -- 2.40.0