dedup

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

commit 7efac95d6c9a69d75808dc7ec540f8803e8c2af6
parent eaed3251aefdb0cac2fb61970ccf2f8f52a097a2
Author: sin <sin@2f30.org>
Date:   Sat,  6 Apr 2019 09:40:02 +0100

Remove impossible condition

This is implicitly captured by max_chunk_size - win_size.

Diffstat:
Mchunker.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chunker.c b/chunker.c @@ -118,8 +118,7 @@ get_chunk_size(struct chunker *chunker) if (chunk_size < chunker->min_size) continue; - if (chunk_size >= chunker->max_size || - (sum & chunker->mask) == 0) + if ((sum & chunker->mask) == 0) return chunk_size; } return max_chunk_size;