git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c94ba5
)
dbwrap: Remove an unnecessary ZERO_STRUCT
author
Volker Lendecke
<vl@samba.org>
Tue, 5 Jun 2012 09:28:44 +0000
(11:28 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 15 Jun 2012 16:32:21 +0000
(18:32 +0200)
We assign the only struct member one line down
Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/dbwrap/dbwrap_rbt.c
patch
|
blob
|
history
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;