aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-01 11:40:55 +0100
committergatecat <gatecat@ds0.me>2021-06-01 11:40:55 +0100
commit315a5733d294266d9aa1ed920a7e5ca9bb7dfb6d (patch)
tree2e297d1b0f7a606b8d44d8168c60ffdc937d9aa0 /common
parent24ae205f20f0e1a0326e48002ab14d5bacfca1ef (diff)
downloadnextpnr-315a5733d294266d9aa1ed920a7e5ca9bb7dfb6d.tar.gz
nextpnr-315a5733d294266d9aa1ed920a7e5ca9bb7dfb6d.tar.bz2
nextpnr-315a5733d294266d9aa1ed920a7e5ca9bb7dfb6d.zip
timing: Fix use of uninitialised value
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/timing.h2
1 files changed, 1 insertions, 1 deletions
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;
};