| commit | 5672b1545b96f8fd7b004de4017e28507f649063 | [log] [tgz] |
|---|---|---|
| author | Masaori Koshiba <masaori@apache.org> | Fri Apr 19 08:30:15 2024 +0900 |
| committer | Leif Hedstrom <zwoop@apache.org> | Mon May 13 16:21:51 2024 -0600 |
| tree | 9251a84280049aa6b207ec84079ed7613b9f6c81 | |
| parent | c766050d0596303ba89d420bd248bf0ea441bc57 [diff] |
Initialize HistoryEntry array (#11264) (cherry picked from commit e6c269aadd433c96ed42ff720a6970365588907b)
diff --git a/include/tscore/History.h b/include/tscore/History.h index de8feb7..1eece95 100644 --- a/include/tscore/History.h +++ b/include/tscore/History.h
@@ -74,7 +74,7 @@ } private: - HistoryEntry history[Count]; + HistoryEntry history[Count] = {}; unsigned int history_pos = 0; };