From: Matthew Fernandez Date: Sat, 5 Sep 2020 23:48:08 +0000 (-0700) Subject: squash a -Wunused-parameter warning in GetFixedOGLPos X-Git-Tag: 2.46.0~20^2^2~86^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89aac7d1474e49d987b736a30e259359475f0e90;p=graphviz squash a -Wunused-parameter warning in GetFixedOGLPos --- 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);