mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-08 02:12:40 +08:00
Merge pull request #1561 from stweil/cid
Fix CID 1390821 (Uninitialized variable)
This commit is contained in:
commit
8e2344a4b0
@ -60,7 +60,7 @@ class StaticShape {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool DeSerialize(TFile *fp) {
|
bool DeSerialize(TFile *fp) {
|
||||||
int32_t tmp;
|
int32_t tmp = LT_NONE;
|
||||||
bool result =
|
bool result =
|
||||||
fp->FReadEndian(&batch_, sizeof(batch_), 1) == 1 &&
|
fp->FReadEndian(&batch_, sizeof(batch_), 1) == 1 &&
|
||||||
fp->FReadEndian(&height_, sizeof(height_), 1) == 1 &&
|
fp->FReadEndian(&height_, sizeof(height_), 1) == 1 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user