git.samba.org
/
ddiss
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbwrap: Remove an unnecessary ZERO_STRUCT
[ddiss/samba.git]
/
lib
/
dbwrap
/
dbwrap_rbt.c
diff --git
a/lib/dbwrap/dbwrap_rbt.c
b/lib/dbwrap/dbwrap_rbt.c
index 3dca3ba793f9fff18f8427203fa90db03a9b155e..d512eac219892562809af6572f5fef513960e6ef 100644
(file)
--- 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;