mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(libT) remove another dead store reported by m1b & clang
This commit is contained in:
@@ -250,7 +250,6 @@ recalculateHash( const tr_torrent * tor,
|
||||
uint8_t * setme )
|
||||
{
|
||||
size_t bytesLeft;
|
||||
size_t n;
|
||||
uint32_t offset = 0;
|
||||
int success = TRUE;
|
||||
SHA_CTX sha;
|
||||
@@ -260,7 +259,7 @@ recalculateHash( const tr_torrent * tor,
|
||||
assert( pieceIndex < tor->info.pieceCount );
|
||||
|
||||
SHA1_Init( &sha );
|
||||
n = bytesLeft = tr_torPieceCountBytes( tor, pieceIndex );
|
||||
bytesLeft = tr_torPieceCountBytes( tor, pieceIndex );
|
||||
|
||||
while( bytesLeft )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user