mirror of https://github.com/aria2/aria2
Remove a dead store in Piece
parent
6f2648f891
commit
1323048ab1
|
@ -266,7 +266,6 @@ void updateHashWithRead(MessageDigest* mdctx,
|
||||||
throw DL_ABORT_EX(fmt(EX_FILE_READ, "n/a", "data is too short"));
|
throw DL_ABORT_EX(fmt(EX_FILE_READ, "n/a", "data is too short"));
|
||||||
}
|
}
|
||||||
mdctx->update(buf, nread);
|
mdctx->update(buf, nread);
|
||||||
offset += nread;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
Loading…
Reference in New Issue