[PATCH v1 02/13] ReportsHtml.cc: Initialize lastState_m

Ryan Long ryan.long at oarcorp.com
Sun Aug 1 23:23:36 UTC 2021


When not initialized, an extra code segment would be added to
annotated.html
---
 tester/covoar/ReportsHtml.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tester/covoar/ReportsHtml.cc b/tester/covoar/ReportsHtml.cc
index 88ea25b..4c024d5 100644
--- a/tester/covoar/ReportsHtml.cc
+++ b/tester/covoar/ReportsHtml.cc
@@ -44,6 +44,7 @@ namespace Coverage {
   ): ReportsBase( timestamp, symbolSetName, allExplanations )
   {
     reportExtension_m = ".html";
+    lastState_m = A_SOURCE;
   }
 
   ReportsHtml::~ReportsHtml()
-- 
1.8.3.1



More information about the devel mailing list