Skip to content

Commit

Permalink
Remove unused local variables
Browse files Browse the repository at this point in the history
This fixes some compiler warnings.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed May 2, 2017
1 parent 5eb9f0c commit 048cf9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ccutil/tessdatamanager.cpp
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion classify/intproto.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 048cf9d

Please sign in to comment.