mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Merge pull request #863 from stweil/warnings
Remove unused local variables
This commit is contained in:
commit
b4d77057d6
@ -42,7 +42,6 @@ void TessdataManager::LoadFileLater(const char *data_file_name) {
|
|||||||
|
|
||||||
bool TessdataManager::Init(const char *data_file_name) {
|
bool TessdataManager::Init(const char *data_file_name) {
|
||||||
GenericVector<char> data;
|
GenericVector<char> data;
|
||||||
bool result = true;
|
|
||||||
if (reader_ == nullptr) {
|
if (reader_ == nullptr) {
|
||||||
if (!LoadDataFromFile(data_file_name, &data)) return false;
|
if (!LoadDataFromFile(data_file_name, &data)) return false;
|
||||||
} else {
|
} else {
|
||||||
|
@ -760,7 +760,6 @@ namespace tesseract {
|
|||||||
*/
|
*/
|
||||||
INT_TEMPLATES Classify::ReadIntTemplates(bool swap, TFile *fp) {
|
INT_TEMPLATES Classify::ReadIntTemplates(bool swap, TFile *fp) {
|
||||||
int i, j, w, x, y, z;
|
int i, j, w, x, y, z;
|
||||||
int nread;
|
|
||||||
int unicharset_size;
|
int unicharset_size;
|
||||||
int version_id = 0;
|
int version_id = 0;
|
||||||
INT_TEMPLATES Templates;
|
INT_TEMPLATES Templates;
|
||||||
|
Loading…
Reference in New Issue
Block a user