mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Eliminate extra assignment
This commit is contained in:
parent
ec7eb0fa80
commit
f7e36370f3
@ -2795,8 +2795,7 @@ FILE* OpenUndoFile(const CDiskBlockPos &pos, bool fReadOnly) {
|
||||
|
||||
boost::filesystem::path GetBlockPosFilename(const CDiskBlockPos &pos, const char *prefix)
|
||||
{
|
||||
boost::filesystem::path path = GetDataDir() / "blocks" / strprintf("%s%05u.dat", prefix, pos.nFile);
|
||||
return path;
|
||||
return GetDataDir() / "blocks" / strprintf("%s%05u.dat", prefix, pos.nFile);
|
||||
}
|
||||
|
||||
CBlockIndex * InsertBlockIndex(uint256 hash)
|
||||
|
Loading…
Reference in New Issue
Block a user