]> arthur.barton.de Git - bup.git/commitdiff
Remove redundant *bits assignment in bupsplit_find_ofs().
authorRob Browning <rlb@defaultvalue.org>
Wed, 20 Nov 2013 04:18:18 +0000 (22:18 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 20 Nov 2013 04:18:18 +0000 (22:18 -0600)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/bupsplit.c

index 067b2e965454c808299bb4e50385f38833bc3430..dcaa3d315493ab356bac80408e3989c12941099d 100644 (file)
@@ -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)++)
                    ;