mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 07:59:05 +08:00
Fix CID 1375402 (Uninitialized pointer field)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
408d6e8b72
commit
930e11996c
@ -551,9 +551,9 @@ class SquishedDawg : public Dawg {
|
||||
std::unique_ptr<EDGE_REF[]> build_node_map(int32_t *num_nodes) const;
|
||||
|
||||
// Member variables.
|
||||
EDGE_ARRAY edges_;
|
||||
int32_t num_edges_;
|
||||
int num_forward_edges_in_node0;
|
||||
EDGE_ARRAY edges_ = nullptr;
|
||||
int32_t num_edges_ = 0;
|
||||
int num_forward_edges_in_node0 = 0;
|
||||
};
|
||||
|
||||
} // namespace tesseract
|
||||
|
Loading…
Reference in New Issue
Block a user