system: Avoid uninitialized memory usage am: 31914dbf37 am: 7e9ec3985c am: 7a21c0dc17

Original change: https://android-review.googlesource.com/c/platform/system/dmesgd/+/1981727

Change-Id: I3d250c744aefe95c6de0fc32fc0094434513bdb9
diff --git a/dmesg_parser.cpp b/dmesg_parser.cpp
index 0a81808..6034965 100644
--- a/dmesg_parser.cpp
+++ b/dmesg_parser.cpp
@@ -23,7 +23,7 @@
 
 const std::string kTimestampRe = "^\\[[^\\]]+\\]\\s";
 
-DmesgParser::DmesgParser() {
+DmesgParser::DmesgParser() : report_ready_(false) {
     std::string bug_types;
     for (auto t : {"KFENCE", "KASAN"}) {
         if (bug_types.empty()) {