From 6b72b887d364206211df8cf9d634a81df37d81fd Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 11 Jul 2022 20:22:57 -0700 Subject: [PATCH] gvc gvrender_begin_edge: remove unused 'e' parameter --- lib/common/emit.c | 2 +- lib/gvc/gvcproc.h | 2 +- lib/gvc/gvrender.c | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/common/emit.c b/lib/common/emit.c index 87d6429e0..e5cb50fd2 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -2659,7 +2659,7 @@ static void emit_begin_edge(GVJ_t * job, edge_t * e, char** styles) } } - gvrender_begin_edge(job, e); + gvrender_begin_edge(job); if (obj->url || obj->explicit_tooltip) gvrender_begin_anchor(job, obj->url, obj->tooltip, obj->target, obj->id); diff --git a/lib/gvc/gvcproc.h b/lib/gvc/gvcproc.h index f3fc0f1ab..edcf5485b 100644 --- a/lib/gvc/gvcproc.h +++ b/lib/gvc/gvcproc.h @@ -96,7 +96,7 @@ void gvrender_end_edges(GVJ_t * job); void gvrender_begin_node(GVJ_t *job); void gvrender_end_node(GVJ_t * job); - void gvrender_begin_edge(GVJ_t * job, edge_t * e); + void gvrender_begin_edge(GVJ_t *job); void gvrender_end_edge(GVJ_t * job); void gvrender_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target, char *id); diff --git a/lib/gvc/gvrender.c b/lib/gvc/gvrender.c index 83598de50..1a16e63da 100644 --- a/lib/gvc/gvrender.c +++ b/lib/gvc/gvrender.c @@ -355,8 +355,7 @@ void gvrender_end_node(GVJ_t * job) } } -void gvrender_begin_edge(GVJ_t * job, edge_t * e) -{ +void gvrender_begin_edge(GVJ_t *job) { gvrender_engine_t *gvre = job->render.engine; if (gvre) { -- 2.40.0