mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 07:16:56 +08:00
Removed unnecessary initialization on setRegion function
This commit is contained in:
@@ -511,10 +511,6 @@ namespace alpr
|
||||
void AlprImpl::setDefaultRegion(string region)
|
||||
{
|
||||
this->defaultRegion = region;
|
||||
if (!region.empty() && this->stateIdentifier == NULL)
|
||||
{
|
||||
this->stateIdentifier = new StateIdentifier(this->config);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AlprImpl::getVersion()
|
||||
|
Reference in New Issue
Block a user