From f089722b41c2d5e798f85dc87176264a486f4718 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 26 Feb 2015 19:55:20 -0500 Subject: [PATCH] Removed unnecessary initialization on setRegion function --- src/openalpr/alpr_impl.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/openalpr/alpr_impl.cpp b/src/openalpr/alpr_impl.cpp index 0d9f7d8..162ed10 100644 --- a/src/openalpr/alpr_impl.cpp +++ b/src/openalpr/alpr_impl.cpp @@ -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()