dedup

data deduplication program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | README | LICENSE

commit 2acc9dab8d36a9aff29c8c786e8e1427573a231c
parent 1be84dc78d331d3e1c827c9a895a131f617f36cb
Author: sin <sin@2f30.org>
Date:   Sun, 10 Mar 2019 12:03:00 +0000

Move var to inner scope

Diffstat:
Mdedup.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dedup.c b/dedup.c @@ -315,7 +315,6 @@ extract(struct snapshot *snap, void *arg) static int check_snap(struct snapshot *snap, void *arg) { - uint8_t md[MDSIZE]; uint8_t *buf; int *ret = arg; uint64_t i; @@ -328,6 +327,7 @@ check_snap(struct snapshot *snap, void *arg) buf = alloc_buf(compr_size(BLKSIZE_MAX)); for (i = 0; i < snap->nr_blk_descs; i++) { + uint8_t md[MDSIZE]; blake2b_state ctx; struct blk_desc *blk_desc;