Sfoglia il codice sorgente

Remove a dead store in Piece

Nils Maier 12 anni fa
parent
commit
1323048ab1
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      src/Piece.cc

+ 0 - 1
src/Piece.cc

@@ -266,7 +266,6 @@ void updateHashWithRead(MessageDigest* mdctx,
       throw DL_ABORT_EX(fmt(EX_FILE_READ, "n/a", "data is too short"));
     }
     mdctx->update(buf, nread);
-    offset += nread;
   }
 }
 } // namespace