From: Costa Shulyupin Date: Sun, 13 Feb 2022 09:56:33 +0000 (+0200) Subject: remove unused argument g in emit_end_graph X-Git-Tag: 3.0.0~29^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42f087d16738d3dd6c15c6d40d04c91bd7f6ddcc;p=graphviz remove unused argument g in emit_end_graph --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 1cd3b7811..858942390 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -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 */