Change the return value on zero lookups.
This commit is contained in:
parent
4329c627db
commit
e62ff87811
1 changed files with 7 additions and 1 deletions
|
@ -57,7 +57,13 @@ bool CDMRLookup::read()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LogInfo("Loaded %u DMR Ids to the callsign lookup table", m_table.size());
|
::fclose(fp);
|
||||||
|
|
||||||
|
size_t size = m_table.size();
|
||||||
|
if (size == 0U)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
LogInfo("Loaded %u DMR Ids to the callsign lookup table", size);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue