Brackets to prevent premature return

This commit is contained in:
NanoAkron 2016-10-04 01:13:04 +01:00
parent fb1785ab94
commit 10be9036da
No known key found for this signature in database
GPG Key ID: 346A337AA2EA8B57

View File

@ -713,8 +713,10 @@ namespace cryptonote
LOG_PRINT_L1("Received signal to deactivate memory pool store"); LOG_PRINT_L1("Received signal to deactivate memory pool store");
if (m_config_folder.empty()) if (m_config_folder.empty())
{
LOG_PRINT_L1("Memory pool store already empty"); LOG_PRINT_L1("Memory pool store already empty");
return true; return true;
}
if (!tools::create_directories_if_necessary(m_config_folder)) if (!tools::create_directories_if_necessary(m_config_folder))
{ {