(libT) remove another dead store reported by m1b & clang

This commit is contained in:
Charles Kerr
2008-11-05 00:21:30 +00:00
parent 17ca492cc5
commit 66db7d7b3f

View File

@@ -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 )
{