From 4ea9f8d4c0d08343910d85f44eebdd2d7bff6571 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 22 Mar 2012 10:47:27 +1030 Subject: lib/tdb2: fix -Wshadow warnings. These warnings clutter things up, even though they're of marginal utility. Signed-off-by: Rusty Russell --- lib/tdb2/free.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tdb2/free.c') diff --git a/lib/tdb2/free.c b/lib/tdb2/free.c index a6d4c7a4c7..0868a6ea30 100644 --- a/lib/tdb2/free.c +++ b/lib/tdb2/free.c @@ -585,7 +585,7 @@ unlock_err: enum TDB_ERROR add_free_record(struct tdb_context *tdb, tdb_off_t off, tdb_len_t len_with_header, enum tdb_lock_flags waitflag, - bool coalesce) + bool coalesce_ok) { tdb_off_t b_off; tdb_len_t len; @@ -601,11 +601,11 @@ enum TDB_ERROR add_free_record(struct tdb_context *tdb, return ecode; } - ecode = enqueue_in_free(tdb, b_off, off, len, &coalesce); + ecode = enqueue_in_free(tdb, b_off, off, len, &coalesce_ok); check_list(tdb, b_off); /* Coalescing unlocks free list. */ - if (!ecode && coalesce) + if (!ecode && coalesce_ok) ecode = coalesce_list(tdb, tdb->tdb2.ftable_off, b_off, 2); else tdb_unlock_free_bucket(tdb, b_off); -- cgit