Removed unnecessary initialization on setRegion function

This commit is contained in:
Matt Hill
2015-02-26 19:55:20 -05:00
parent 766194c457
commit f089722b41

View File

@@ -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()