Remove unecessary condition for not storing a report

This commit is contained in:
Ingo Oppermann
2025-06-05 14:23:54 +02:00
parent fc97a6f069
commit 22745e497c

View File

@@ -917,10 +917,6 @@ func (p *parser) storeReportHistory(state string, usage Usage) {
p.ResetLog() p.ResetLog()
if len(report.Prelude) == 0 {
return
}
p.lock.logHistory.Lock() p.lock.logHistory.Lock()
defer p.lock.logHistory.Unlock() defer p.lock.logHistory.Unlock()