diff options
| author | Suhas Daftuar <[email protected]> | 2014-09-15 09:56:10 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2014-09-15 09:56:10 -0400 |
| commit | f7e36370f36ca806076cdcf0cd3ed0c35fd38c42 (patch) | |
| tree | 7d0f765d8090d05f29bb3c5c4f46fc9e31ef453f /src/main.cpp | |
| parent | When reindexing check for file before trying to open (refactored) (diff) | |
| download | discoin-f7e36370f36ca806076cdcf0cd3ed0c35fd38c42.tar.xz discoin-f7e36370f36ca806076cdcf0cd3ed0c35fd38c42.zip | |
Eliminate extra assignment
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0816e3663..7242c3ab5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) |