Rearrange reflector counting.

This commit is contained in:
Jonathan Naylor 2016-10-19 07:30:38 +01:00
parent 6bb5c177f5
commit c7e0c7bfac

View File

@ -89,9 +89,6 @@ bool CReflectors::load()
} }
size_t size = m_reflectors.size(); size_t size = m_reflectors.size();
if (size == 0U)
return false;
LogInfo("Loaded %u P25 reflectors", size); LogInfo("Loaded %u P25 reflectors", size);
// Add the Parrot entry // Add the Parrot entry
@ -104,6 +101,10 @@ bool CReflectors::load()
LogInfo("Loaded P25 parrot"); LogInfo("Loaded P25 parrot");
} }
size = m_reflectors.size();
if (size == 0U)
return false;
return true; return true;
} }