From: Matthew Fernandez Date: Sat, 21 May 2022 01:45:05 +0000 (-0700) Subject: smyrna: remove unnecessary casts in 'vertexCallback' X-Git-Tag: 4.0.0~21^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9616bf1234480e81a1f5370e23023d3d52b34d5e;p=graphviz smyrna: remove unnecessary casts in 'vertexCallback' --- diff --git a/cmd/smyrna/polytess.c b/cmd/smyrna/polytess.c index ee94fa324..c7d22c09f 100644 --- a/cmd/smyrna/polytess.c +++ b/cmd/smyrna/polytess.c @@ -36,9 +36,8 @@ static void CALLBACK combineCallback(GLdouble coords[3], GLdouble *vertex_data[4 static void CALLBACK vertexCallback(GLvoid *vertex) { - GLdouble *ptr; - ptr = (GLdouble *) vertex; - glVertex3dv((GLdouble *) ptr); + GLdouble *ptr = vertex; + glVertex3dv(ptr); }