From 53266b860edb307766f9926f3ad40352282ff34d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 5 Jun 2020 16:58:25 -0700 Subject: [PATCH] remove unused aggetuserptr function --- lib/cgraph/obj.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/cgraph/obj.c b/lib/cgraph/obj.c index 709774e3d..71dfdefea 100644 --- a/lib/cgraph/obj.c +++ b/lib/cgraph/obj.c @@ -234,16 +234,6 @@ int agpopdisc(Agraph_t * g, Agcbdisc_t * cbd) return FAILURE; } -void *aggetuserptr(Agraph_t * g, Agcbdisc_t * cbd) -{ - Agcbstack_t *stack_ent; - - for (stack_ent = g->clos->cb; stack_ent; stack_ent = stack_ent->prev) - if (stack_ent->f == cbd) - return stack_ent->state; - return NIL(void *); -} - int agcontains(Agraph_t* g, void* obj) { Agraph_t* subg; -- 2.40.0