dbwrap: Remove an unnecessary ZERO_STRUCT
authorVolker Lendecke <vl@samba.org>
Tue, 5 Jun 2012 09:28:44 +0000 (11:28 +0200)
committerStefan 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

index 3dca3ba793f9fff18f8427203fa90db03a9b155e..d512eac219892562809af6572f5fef513960e6ef 100644 (file)
@@ -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;