From 315a5733d294266d9aa1ed920a7e5ca9bb7dfb6d Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 1 Jun 2021 11:40:55 +0100 Subject: timing: Fix use of uninitialised value Signed-off-by: gatecat --- common/timing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/timing.h b/common/timing.h index a8615e15..133bd4eb 100644 --- a/common/timing.h +++ b/common/timing.h @@ -247,7 +247,7 @@ struct TimingAnalyser { PerDomainPair(ClockDomainPairKey key) : key(key){}; ClockDomainPairKey key; - DelayPair period; + DelayPair period{0}; delay_t worst_setup_slack, worst_hold_slack; }; -- cgit v1.2.3