1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

ctdb-recoverd/vacuum: move two variables into scope.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Michael Adam 2015-06-02 21:27:16 +02:00
parent 9e5cf6fd5c
commit 84ab6d003a

View File

@ -1013,13 +1013,12 @@ static void vacuum_fetch_callback(struct ctdb_client_call_state *state)
*/
static void vacuum_fetch_next(struct vacuum_info *v)
{
struct ctdb_call call;
struct ctdb_rec_data *r;
while (v->recs->count) {
struct ctdb_client_call_state *state;
TDB_DATA data;
struct ctdb_ltdb_header *hdr;
struct ctdb_call call;
struct ctdb_rec_data *r;
ZERO_STRUCT(call);
call.call_id = CTDB_NULL_FUNC;