summaryrefslogtreecommitdiff
path: root/lib/dbwrap
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-05 11:28:44 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 18:32:21 +0200
commit442cb66c16d50e76725799aa74a8877207de88ec (patch)
treec93226d3dd2944c9030778a769c7e33d64786b84 /lib/dbwrap
parent3c94ba500707ff171e09c000e451d72cdf4a8776 (diff)
downloadsamba-442cb66c16d50e76725799aa74a8877207de88ec.tar.gz
samba-442cb66c16d50e76725799aa74a8877207de88ec.tar.bz2
samba-442cb66c16d50e76725799aa74a8877207de88ec.zip
dbwrap: Remove an unnecessary ZERO_STRUCT
We assign the only struct member one line down Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/dbwrap')
-rw-r--r--lib/dbwrap/dbwrap_rbt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap_rbt.c b/lib/dbwrap/dbwrap_rbt.c
index 3dca3ba793..d512eac219 100644
--- a/lib/dbwrap/dbwrap_rbt.c
+++ b/lib/dbwrap/dbwrap_rbt.c
@@ -382,7 +382,6 @@ static int db_rbt_traverse_internal(struct db_context *db,
return ret;
}
- ZERO_STRUCT(rec_priv);
rec_priv.node = db_rbt2node(n);
/* n might be altered by the callback function */
n = NULL;