From 10be9036daa44b6f97f74900d9982726ae3dc127 Mon Sep 17 00:00:00 2001 From: NanoAkron Date: Tue, 4 Oct 2016 01:13:04 +0100 Subject: [PATCH] Brackets to prevent premature return --- src/cryptonote_core/tx_pool.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 0463c57e..5bfa7eca 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)) {