Skip to content

Commit

Permalink
Remove file tessedit.h
Browse files Browse the repository at this point in the history
It only declared the unused global variable global_monitor
which is now removed, too.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 27, 2019
1 parent 6e59abc commit 852598e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 33 deletions.
1 change: 0 additions & 1 deletion src/ccmain/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ noinst_HEADERS = \
paramsd.h \
pgedit.h \
reject.h \
tessedit.h \
tesseractclass.h \
tessvars.h \
werdit.h
Expand Down
3 changes: 0 additions & 3 deletions src/ccmain/tessedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "pgedit.h"
#include "reject.h"
#include "stopper.h"
#include "tessedit.h"
#include "tessvars.h"
#include "tprintf.h"
#ifndef DISABLED_LEGACY_ENGINE
Expand All @@ -48,8 +47,6 @@
// config under api
#define API_CONFIG "configs/api_config"

ETEXT_DESC* global_monitor = nullptr; // progress monitor

namespace tesseract {

// Read a "config" file containing a set of variable, value pairs.
Expand Down
28 changes: 0 additions & 28 deletions src/ccmain/tessedit.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/ccmain/tesseractclass.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ class Tesseract : public Wordrec {
const char* lengths);
int16_t count_alphanums(const WERD_CHOICE &word);
int16_t count_alphas(const WERD_CHOICE &word);
//// tessedit.h ////////////////////////////////////////////////////////

void read_config_file(const char *filename, SetParamConstraint constraint);
// Initialize for potentially a set of languages defined by the language
// string and recursively any additional languages required by any language
Expand Down

0 comments on commit 852598e

Please sign in to comment.