diff options
author | Simo Sorce <idra@samba.org> | 2006-12-10 22:24:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:06 -0500 |
commit | 784fd1a2306530c62dc850df8088fc5d4e33f053 (patch) | |
tree | d8d663a5fa6afed6eb62fca95c89547275c32233 /source4/lib/ldb/ldb_tdb | |
parent | 5dd224f2609d6202f2c4b617b3217dd57e99548d (diff) | |
download | samba-784fd1a2306530c62dc850df8088fc5d4e33f053.tar.gz samba-784fd1a2306530c62dc850df8088fc5d4e33f053.tar.bz2 samba-784fd1a2306530c62dc850df8088fc5d4e33f053.zip |
r20101: Also rename a variable now that the unused parameter is gone
(This used to be commit a2520bcfa918977f2139a963e9817370789cf077)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_index.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c index 1763c86064..156d9cd1ce 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_index.c +++ b/source4/lib/ldb/ldb_tdb/ldb_index.c @@ -765,16 +765,16 @@ static int ltdb_index_add1_new(struct ldb_context *ldb, struct ldb_message *msg, const char *dn) { - struct ldb_message_element *el2; + struct ldb_message_element *el; /* add another entry */ - el2 = talloc_realloc(msg, msg->elements, + el = talloc_realloc(msg, msg->elements, struct ldb_message_element, msg->num_elements+1); - if (!el2) { + if (!el) { return -1; } - msg->elements = el2; + msg->elements = el; msg->elements[msg->num_elements].name = talloc_strdup(msg->elements, LTDB_IDX); if (!msg->elements[msg->num_elements].name) { return -1; |