summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-07 14:36:39 +0200
committerVolker Lendecke <vlendec@samba.org>2011-09-07 16:47:26 +0200
commit4ee613ba64cd49667ce934331a5fd8fae67c6795 (patch)
tree562c1d080cf6a42ccdde08a80bbbb53278a350f9
parent0aa558718ad7427ee8b02046da73eea1838a5a32 (diff)
downloadsamba-4ee613ba64cd49667ce934331a5fd8fae67c6795.tar.gz
samba-4ee613ba64cd49667ce934331a5fd8fae67c6795.tar.bz2
samba-4ee613ba64cd49667ce934331a5fd8fae67c6795.zip
talloc: Remove an unused variable
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 7 16:47:26 CEST 2011 on sn-devel-104
-rw-r--r--lib/talloc/talloc.c1
1 files changed, 0 insertions, 1 deletions
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);