aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-11-12 14:00:08 +0000
committerDavid Shah <dave@ds0.me>2018-11-12 14:03:58 +0000
commitba7a7a3733c493fc950d5bedbc49b4c78b451b3d (patch)
tree1fc2accd8a5e52203378983b4cbaf01723013ed1 /common
parentd3ad522bfe4d6c0f63a455ad5deabc568a50b5f3 (diff)
downloadnextpnr-ba7a7a3733c493fc950d5bedbc49b4c78b451b3d.tar.gz
nextpnr-ba7a7a3733c493fc950d5bedbc49b4c78b451b3d.tar.bz2
nextpnr-ba7a7a3733c493fc950d5bedbc49b4c78b451b3d.zip
timing: Fix compile warning
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/timing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing.cc b/common/timing.cc
index fec74312..4c6ed9f5 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -528,7 +528,7 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p
Timing timing(ctx, true /* net_delays */, false /* update */, (print_path || print_fmax) ? &crit_paths : nullptr,
print_histogram ? &slack_histogram : nullptr);
- auto min_slack = timing.walk_paths();
+ timing.walk_paths();
std::map<IdString, std::pair<ClockPair, CriticalPath>> clock_reports;
std::map<IdString, double> clock_fmax;
std::vector<ClockPair> xclock_paths;