]> granicus.if.org Git - graphviz/commitdiff
remove unused argument g in emit_end_graph
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Sun, 13 Feb 2022 09:56:33 +0000 (11:56 +0200)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 15 Feb 2022 19:45:37 +0000 (06:45 +1100)
lib/common/emit.c

index 1cd3b7811e20ad382a2f396c8bae7e2a1631703b..858942390da0c52223f188b527e3b6b1e0d55903 100644 (file)
@@ -3383,7 +3383,7 @@ static void emit_begin_graph(GVJ_t * job, graph_t * g)
     gvrender_begin_graph(job, g);
 }
 
-static void emit_end_graph(GVJ_t * job, graph_t * g)
+static void emit_end_graph(GVJ_t * job)
 {
     gvrender_end_graph(job);
     pop_obj_state(job);
@@ -3516,7 +3516,7 @@ void emit_graph(GVJ_t * job, graph_t * g)
        if (numPhysicalLayers (job) > 1)
            gvrender_end_layer(job);
     } 
-    emit_end_graph(job, g);
+    emit_end_graph(job);
 }
 
 /* support for stderr_once */