talloc: Remove an unused variable
authorVolker Lendecke <vl@samba.org>
Wed, 7 Sep 2011 12:36:39 +0000 (14:36 +0200)
committerVolker Lendecke <vlendec@samba.org>
Wed, 7 Sep 2011 14:47:26 +0000 (16:47 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Sep  7 16:47:26 CEST 2011 on sn-devel-104

lib/talloc/talloc.c

index 19e6a37f2c3bf7882f64e7589eb893c0bf5cea1d..5ea07918cfd8218115cbdefb1cfb88cd200db0a9 100644 (file)
@@ -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);