mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Remove unused local variables
This fixes some compiler warnings. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
5eb9f0c392
commit
048cf9d06a
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user