From: Wayne Davison Date: Mon, 27 Feb 2006 02:55:55 +0000 (+0000) Subject: No need to initialize the chain var of a checksum struct since X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/commitdiff_plain/9fe34cf324478bdcf79cbf305436ec1bb6928f56 No need to initialize the chain var of a checksum struct since it will get set when it is inserted into the hash table. --- diff --git a/dynamic_hash.diff b/dynamic_hash.diff index cd002e9..5f32e20 100644 --- a/dynamic_hash.diff +++ b/dynamic_hash.diff @@ -189,13 +189,3 @@ An extended version of a patch by Shachar Shemesh. short flags; /**< flag bits */ char sum2[SUM_LENGTH]; /**< checksum */ }; ---- old/sender.c -+++ new/sender.c -@@ -92,6 +92,7 @@ static struct sum_struct *receive_sums(i - - s->sums[i].offset = offset; - s->sums[i].flags = 0; -+ s->sums[i].chain = -1; - - if (i == s->count-1 && s->remainder != 0) - s->sums[i].len = s->remainder;