diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2014-09-15 09:56:10 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2014-09-15 09:56:10 -0400 |
commit | f7e36370f36ca806076cdcf0cd3ed0c35fd38c42 (patch) | |
tree | 7d0f765d8090d05f29bb3c5c4f46fc9e31ef453f | |
parent | ec7eb0fa80ce50f0c45c7f764bf4958224721ca0 (diff) |
Eliminate extra assignment
-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 0816e36633..7242c3ab5c 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) |