Address some compiler warnings.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2021-01-29 10:02:12 -08:00
parent 0338368afa
commit 16394d3158

View File

@ -1065,7 +1065,7 @@ class HeAPPlacer
CutSpreader(HeAPPlacer *p, const std::unordered_set<PartitionId> &partitions) : p(p), ctx(p->ctx), partitions(partitions) CutSpreader(HeAPPlacer *p, const std::unordered_set<PartitionId> &partitions) : p(p), ctx(p->ctx), partitions(partitions)
{ {
// Get fast BELs data for all partitions being Cut/Spread. // Get fast BELs data for all partitions being Cut/Spread.
int idx = 0; size_t idx = 0;
for (PartitionId partition : sorted(partitions)) { for (PartitionId partition : sorted(partitions)) {
type_index[partition] = idx; type_index[partition] = idx;
FastBels::FastBelsData *fast_bels; FastBels::FastBelsData *fast_bels;