From d307565eb1bc3776e2e3f99029e2a7828e17c78d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 12 Oct 2022 21:36:28 -0700 Subject: [PATCH] graphml2gv: remove 'composite_buffer' from 'userdata_t' 1d28d7d2b4d2b2551bd1f432aa175f54a69364a4 seems to have copied this implementation of `userdata_t` from cmd/tools/gxl2gv.c without noticing the `composite_buffer` member is never used in graphml2gv. --- cmd/tools/graphml2gv.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/tools/graphml2gv.c b/cmd/tools/graphml2gv.c index c7e5960be..57018e09b 100644 --- a/cmd/tools/graphml2gv.c +++ b/cmd/tools/graphml2gv.c @@ -15,7 +15,6 @@ #include "convert.h" -#include #include #include #include @@ -86,7 +85,6 @@ static void freeString(gv_stack_t *stk) { } typedef struct { - agxbuf composite_buffer; char* gname; gv_stack_t elements; int closedElementType; @@ -144,7 +142,6 @@ static userdata_t *genUserdata(char* dfltname) static void freeUserdata(userdata_t * ud) { dtclose(ud->nameMap); - agxbfree(&(ud->composite_buffer)); freeString(&ud->elements); free(ud); } -- 2.40.0