X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6e12886393ffd34f78e7bdffe6896b4b0da6ceaf..bc63ae3f13e01874e375bb5cc606775889ed5afa:/checksum.c diff --git a/checksum.c b/checksum.c index 3decf78b..8e584fab 100644 --- a/checksum.c +++ b/checksum.c @@ -117,16 +117,6 @@ void file_checksum(char *fname,char *sum,OFF_T size) } -void checksum_init(void) -{ - if (remote_version >= 14) - csum_length = 2; /* adaptive */ - else - csum_length = SUM_LENGTH; -} - - - static int sumresidue; static char sumrbuf[CSUM_CHUNK]; static struct mdfour md;