From: Rob Browning Date: Wed, 20 Nov 2013 04:18:18 +0000 (-0600) Subject: Remove redundant *bits assignment in bupsplit_find_ofs(). X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=75954f87ee873e08cb6e6d0a63717e18283c78ae;p=packages%2Fb%2Fbup.git Remove redundant *bits assignment in bupsplit_find_ofs(). Signed-off-by: Rob Browning --- diff --git a/lib/bup/bupsplit.c b/lib/bup/bupsplit.c index 067b2e9..dcaa3d3 100644 --- a/lib/bup/bupsplit.c +++ b/lib/bup/bupsplit.c @@ -105,7 +105,6 @@ int bupsplit_find_ofs(const unsigned char *buf, int len, int *bits) if (bits) { unsigned rsum = rollsum_digest(&r); - *bits = BUP_BLOBBITS; rsum >>= BUP_BLOBBITS; for (*bits = BUP_BLOBBITS; (rsum >>= 1) & 1; (*bits)++) ;