Skip to content

Commit 852598e

Browse files
committed
Remove file tessedit.h
It only declared the unused global variable global_monitor which is now removed, too. Signed-off-by: Stefan Weil <[email protected]>
1 parent 6e59abc commit 852598e

File tree

4 files changed

+1
-33
lines changed

4 files changed

+1
-33
lines changed

src/ccmain/Makefile.am

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ noinst_HEADERS = \
4242
paramsd.h \
4343
pgedit.h \
4444
reject.h \
45-
tessedit.h \
4645
tesseractclass.h \
4746
tessvars.h \
4847
werdit.h

src/ccmain/tessedit.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "pgedit.h"
3030
#include "reject.h"
3131
#include "stopper.h"
32-
#include "tessedit.h"
3332
#include "tessvars.h"
3433
#include "tprintf.h"
3534
#ifndef DISABLED_LEGACY_ENGINE
@@ -48,8 +47,6 @@
4847
// config under api
4948
#define API_CONFIG "configs/api_config"
5049

51-
ETEXT_DESC* global_monitor = nullptr; // progress monitor
52-
5350
namespace tesseract {
5451

5552
// Read a "config" file containing a set of variable, value pairs.

src/ccmain/tessedit.h

-28
This file was deleted.

src/ccmain/tesseractclass.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ class Tesseract : public Wordrec {
510510
const char* lengths);
511511
int16_t count_alphanums(const WERD_CHOICE &word);
512512
int16_t count_alphas(const WERD_CHOICE &word);
513-
//// tessedit.h ////////////////////////////////////////////////////////
513+
514514
void read_config_file(const char *filename, SetParamConstraint constraint);
515515
// Initialize for potentially a set of languages defined by the language
516516
// string and recursively any additional languages required by any language

0 commit comments

Comments
 (0)