]> granicus.if.org Git - graphviz/commitdiff
gvc gvrender_begin_graph: remove unused 'g' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 12 Jul 2022 02:54:45 +0000 (19:54 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 17 Jul 2022 04:50:09 +0000 (21:50 -0700)
lib/common/emit.c
lib/gvc/gvcproc.h
lib/gvc/gvrender.c

index 4f098562acd0e9090a4dbfc099ecdc1de21d28a2..7a2f5bee3767ad51b69d5ed5a84f700d016cef21 100644 (file)
@@ -3376,7 +3376,7 @@ static void emit_begin_graph(GVJ_t * job, graph_t * g)
 
     initObjMapData (job, GD_label(g), g);
 
-    gvrender_begin_graph(job, g);
+    gvrender_begin_graph(job);
 }
 
 static void emit_end_graph(GVJ_t * job)
index 215b21f8d131eae8588e019996b439d6687ccf55..adf182d887f8619b096c1b71fc477ffa4cab30e5 100644 (file)
@@ -82,7 +82,7 @@
     void gvrender_end_job(GVJ_t * job);
     int gvrender_select(GVJ_t * job, const char *lang);
     int gvrender_features(GVJ_t * job);
-    void gvrender_begin_graph(GVJ_t * job, graph_t * g);
+    void gvrender_begin_graph(GVJ_t *job);
     void gvrender_end_graph(GVJ_t * job);
     void gvrender_begin_page(GVJ_t * job);
     void gvrender_end_page(GVJ_t * job);
index ce7a41f5a4fbf2f3a0b2ecac733f8332a892ad76..c404caba6d6fd5993fc6de4155dfa75ec981980e 100644 (file)
@@ -216,8 +216,7 @@ static void gvrender_resolve_color(gvrender_features_t * features,
     }
 }
 
-void gvrender_begin_graph(GVJ_t * job, graph_t * g)
-{
+void gvrender_begin_graph(GVJ_t *job) {
     gvrender_engine_t *gvre = job->render.engine;
 
     if (gvre) {