From 42f087d16738d3dd6c15c6d40d04c91bd7f6ddcc Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Sun, 13 Feb 2022 11:56:33 +0200 Subject: [PATCH] remove unused argument g in emit_end_graph --- lib/common/emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.50.1