From: Matthew Fernandez Date: Tue, 10 Jan 2023 16:04:47 +0000 (-0800) Subject: core plugin core_loadimage_vrml: squash warning in release mode X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=692cb23ce0dc75aeb7460a3bca7a7acd65836b8d;p=graphviz core plugin core_loadimage_vrml: squash warning in release mode This triggered -Wunused-variable warnings. --- diff --git a/plugin/core/gvloadimage_core.c b/plugin/core/gvloadimage_core.c index 6d652de82..8e88c2be6 100644 --- a/plugin/core/gvloadimage_core.c +++ b/plugin/core/gvloadimage_core.c @@ -119,17 +119,12 @@ static void core_loadimage_vrml(GVJ_t * job, usershape_t *us, boxf b, bool fille (void)b; (void)filled; - obj_state_t *obj; - node_t *n; - assert(job); - obj = job->obj; - assert(obj); + assert(job->obj); assert(us); assert(us->name); - n = job->obj->u.n; - assert(n); + assert(job->obj->u.n); gvprintf(job, "Shape {\n"); gvprintf(job, " appearance Appearance {\n");