From 810ae771b35e5381924506da4b72ccd49a5de81a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 11 Jul 2022 19:58:29 -0700 Subject: [PATCH] gvc gvrender_begin_node: remove unused 'n' 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 2e2ddab3c..87d6429e0 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1901,7 +1901,7 @@ static void emit_begin_node(GVJ_t * job, node_t * n) } setColorScheme (agget (n, "colorscheme")); - gvrender_begin_node(job, n); + gvrender_begin_node(job); } static void emit_end_node(GVJ_t * job) diff --git a/lib/gvc/gvcproc.h b/lib/gvc/gvcproc.h index 03737430e..f3fc0f1ab 100644 --- a/lib/gvc/gvcproc.h +++ b/lib/gvc/gvcproc.h @@ -94,7 +94,7 @@ void gvrender_end_nodes(GVJ_t * job); void gvrender_begin_edges(GVJ_t * job); void gvrender_end_edges(GVJ_t * job); - void gvrender_begin_node(GVJ_t * job, node_t * n); + 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_end_edge(GVJ_t * job); diff --git a/lib/gvc/gvrender.c b/lib/gvc/gvrender.c index 5d3cb3600..83598de50 100644 --- a/lib/gvc/gvrender.c +++ b/lib/gvc/gvrender.c @@ -336,8 +336,7 @@ void gvrender_end_edges(GVJ_t * job) } } -void gvrender_begin_node(GVJ_t * job, node_t * n) -{ +void gvrender_begin_node(GVJ_t *job) { gvrender_engine_t *gvre = job->render.engine; if (gvre) { -- 2.40.0