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;
 };