From 048cf9d06a6696c004525ea43376680afa32f378 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 2 May 2017 09:04:41 +0200 Subject: [PATCH] Remove unused local variables This fixes some compiler warnings. Signed-off-by: Stefan Weil --- ccutil/tessdatamanager.cpp | 1 - classify/intproto.cpp | 1 - 2 files changed, 2 deletions(-) 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;