aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities/blocksdat_file.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-08 18:26:03 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-08 18:26:03 +0000
commit9ef57946a03d4062fe8404e57269ba1857fc306f (patch)
treef3e50080a43d1f29918fa9d5a9817941a602b4cc /src/blockchain_utilities/blocksdat_file.cpp
parentblockchain: reset hardfork object when resetting blockchain (diff)
downloadmonero-9ef57946a03d4062fe8404e57269ba1857fc306f.tar.xz
blockchain_utilities: remove unused num_blocks variable
Diffstat (limited to 'src/blockchain_utilities/blocksdat_file.cpp')
-rw-r--r--src/blockchain_utilities/blocksdat_file.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/blockchain_utilities/blocksdat_file.cpp b/src/blockchain_utilities/blocksdat_file.cpp
index aba618034..81b56d55e 100644
--- a/src/blockchain_utilities/blocksdat_file.cpp
+++ b/src/blockchain_utilities/blocksdat_file.cpp
@@ -66,8 +66,6 @@ bool BlocksdatFile::open_writer(const boost::filesystem::path& file_path, uint64
m_raw_data_file = new std::ofstream();
- uint64_t num_blocks = 0;
-
LOG_PRINT_L0("creating file");
m_raw_data_file->open(file_path.string(), std::ios_base::binary | std::ios_base::out | std::ios::trunc);