From 4ee613ba64cd49667ce934331a5fd8fae67c6795 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Sep 2011 14:36:39 +0200 Subject: talloc: Remove an unused variable Autobuild-User: Volker Lendecke Autobuild-Date: Wed Sep 7 16:47:26 CEST 2011 on sn-devel-104 --- lib/talloc/talloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index 19e6a37f2c..5ea07918cf 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -1248,7 +1248,6 @@ static inline void _talloc_free_children_internal(struct talloc_chunk *tc, final choice is the null context. */ void *child = TC_PTR_FROM_CHUNK(tc->child); const void *new_parent = null_context; - struct talloc_chunk *old_parent = NULL; if (unlikely(tc->child->refs)) { struct talloc_chunk *p = talloc_parent_chunk(tc->child->refs); if (p) new_parent = TC_PTR_FROM_CHUNK(p); -- cgit