mirror of
https://github.com/aria2/aria2.git
synced 2025-02-26 08:22:11 +00:00
Remove a dead store in Piece
This commit is contained in:
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
Block a user