From 89aac7d1474e49d987b736a30e259359475f0e90 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 5 Sep 2020 16:48:08 -0700 Subject: [PATCH] squash a -Wunused-parameter warning in GetFixedOGLPos --- lib/glcomp/glutils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/glcomp/glutils.c b/lib/glcomp/glutils.c index 80443d475..058ed3e87 100644 --- a/lib/glcomp/glutils.c +++ b/lib/glcomp/glutils.c @@ -31,6 +31,9 @@ int GetFixedOGLPos(int x, int y, float kts, GLfloat * X, GLfloat * Y, GLfloat winX, winY; GLdouble posX, posY, posZ; + /* unused */ + (void)kts; + glColor4f((GLfloat) 0, (GLfloat) 0, (GLfloat) 0, (GLfloat) 0.001); glBegin(GL_POINTS); glVertex3f((GLfloat) - 100.00, (GLfloat) - 100.00, (GLfloat) 1.00); -- 2.40.0