diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-06-02 14:30:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-06-02 14:30:52 +0000 |
commit | 06b8ad48253bb7dfef358602e12c9603c0d53029 (patch) | |
tree | 2a642434e74201b5319d34813690494cf808236a | |
parent | ce2c1458993a5129faf23391330945fc7ac237cd (diff) |
have_md is initialized at startup, don't need to do it again later
from Hiltjo Posthuma
-rw-r--r-- | usr.bin/rsync/blocks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/rsync/blocks.c b/usr.bin/rsync/blocks.c index f6a3575caab..4c154a70d0f 100644 --- a/usr.bin/rsync/blocks.c +++ b/usr.bin/rsync/blocks.c @@ -1,4 +1,4 @@ -/* $Id: blocks.c,v 1.16 2019/05/08 21:30:11 benno Exp $ */ +/* $Id: blocks.c,v 1.17 2019/06/02 14:30:51 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -55,7 +55,6 @@ blk_find(struct sess *sess, const void *buf, off_t size, off_t offs, assert(remain); osz = remain < (off_t)blks->len ? remain : (off_t)blks->len; fhash = hash_fast(buf + offs, (size_t)osz); - have_md = 0; /* * Start with our match hint. |