Merge pull request #863 from stweil/warnings

Remove unused local variables
This commit is contained in:
zdenop 2017-05-02 14:46:02 +02:00 committed by GitHub
commit b4d77057d6
2 changed files with 0 additions and 2 deletions

View File

@ -42,7 +42,6 @@ void TessdataManager::LoadFileLater(const char *data_file_name) {
bool TessdataManager::Init(const char *data_file_name) {
GenericVector<char> data;
bool result = true;
if (reader_ == nullptr) {
if (!LoadDataFromFile(data_file_name, &data)) return false;
} else {

View File

@ -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;