]> granicus.if.org Git - graphviz/commitdiff
squash -Wunused-parameter in EmbedText
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 12 Apr 2021 04:08:16 +0000 (21:08 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 19:12:54 +0000 (12:12 -0700)
cmd/smyrna/draw.c

index 74adb36eb093fb0581e59766e0f23dfe85d9b17f..1d87f010dcda6031162b37537b5b70124d18dcae 100644 (file)
@@ -328,6 +328,8 @@ static void InsertImage(sdot_op * o, int param)
 
 static void EmbedText(sdot_op* o, int param)
 {
+       (void)param;
+
        GLfloat x,y;
        glColor4f(view->penColor.R,view->penColor.G,view->penColor.B,view->penColor.A);
        view->Topview->global_z=view->Topview->global_z+o->layer*LAYER_DIFF+0.05;