diff --git a/ccutil/tessdatamanager.cpp b/ccutil/tessdatamanager.cpp index 9fea1ef912..9b45996053 100644 --- a/ccutil/tessdatamanager.cpp +++ b/ccutil/tessdatamanager.cpp @@ -42,7 +42,6 @@ void TessdataManager::LoadFileLater(const char *data_file_name) { bool TessdataManager::Init(const char *data_file_name) { GenericVector data; - bool result = true; if (reader_ == nullptr) { if (!LoadDataFromFile(data_file_name, &data)) return false; } else { diff --git a/classify/intproto.cpp b/classify/intproto.cpp index c20992b7f6..1939bcbc6d 100644 --- a/classify/intproto.cpp +++ b/classify/intproto.cpp @@ -760,7 +760,6 @@ namespace tesseract { */ INT_TEMPLATES Classify::ReadIntTemplates(bool swap, TFile *fp) { int i, j, w, x, y, z; - int nread; int unicharset_size; int version_id = 0; INT_TEMPLATES Templates;