From 635ffa801ce0d4f5055ad022a5de935acd83b056 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 2 Mar 2010 06:54:18 +0100 Subject: [PATCH] btr: Kill an unused variable. --- buffer_tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buffer_tree.c b/buffer_tree.c index 45650a24..9be53201 100644 --- a/buffer_tree.c +++ b/buffer_tree.c @@ -854,7 +854,7 @@ static void merge_input_pool(struct btr_node *btrn, size_t dest_size) struct btr_buffer_reference *br, *wbr = NULL; int num_refs; /* including wrap buffer */ char *buf, *buf1 = NULL, *buf2 = NULL; - size_t sz, sz1 = 0, sz2 = 0, wsz; + size_t sz, sz1 = 0, sz2 = 0; br = get_first_input_br(btrn); if (!br || br_available_bytes(br) >= dest_size) @@ -922,7 +922,6 @@ next: * We already have a wrap buffer, but it is too small. It might be * partially used. */ - wsz = br_available_bytes(wbr); if (wbr->wrap_count == sz1 && wbr->btrb->size >= sz1 + sz2) /* nothing we can do about it */ return; sz = sz1 + sz2 - wbr->btrb->size; /* amount of new data */ -- 2.39.5