Skip to content

Commit 048cf9d

Browse files
committed
Remove unused local variables
This fixes some compiler warnings. Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 5eb9f0c commit 048cf9d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

ccutil/tessdatamanager.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ void TessdataManager::LoadFileLater(const char *data_file_name) {
4242

4343
bool TessdataManager::Init(const char *data_file_name) {
4444
GenericVector<char> data;
45-
bool result = true;
4645
if (reader_ == nullptr) {
4746
if (!LoadDataFromFile(data_file_name, &data)) return false;
4847
} else {

classify/intproto.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,6 @@ namespace tesseract {
760760
*/
761761
INT_TEMPLATES Classify::ReadIntTemplates(bool swap, TFile *fp) {
762762
int i, j, w, x, y, z;
763-
int nread;
764763
int unicharset_size;
765764
int version_id = 0;
766765
INT_TEMPLATES Templates;

0 commit comments

Comments
 (0)