aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanoAkron <nanoakron@users.noreply.github.com>2016-10-04 01:13:04 +0100
committerNanoAkron <nanoakron@users.noreply.github.com>2016-10-04 01:13:04 +0100
commit10be9036daa44b6f97f74900d9982726ae3dc127 (patch)
treea727ce2d67de90c0fb4db3b81f679d979c71702f
parentBrackets to ensure doesn't function prematurely return (diff)
downloadmonero-10be9036daa44b6f97f74900d9982726ae3dc127.tar.xz
Brackets to prevent premature return
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index 0463c57ea..5bfa7eca6 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -713,8 +713,10 @@ namespace cryptonote
LOG_PRINT_L1("Received signal to deactivate memory pool store");
if (m_config_folder.empty())
+ {
LOG_PRINT_L1("Memory pool store already empty");
return true;
+ }
if (!tools::create_directories_if_necessary(m_config_folder))
{