aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/pack.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-28 15:02:08 +0000
committerD. Shah <dave@ds0.me>2021-01-28 15:02:08 +0000
commit5fc3e8e4d2d82396e8ade480192379ccff95a931 (patch)
treed85fb67cf178a90529f5daa4389215af432c492b /nexus/pack.cc
parent6ecf7f86c8356cc9b386e017ac0ff1ce4c9c19c9 (diff)
downloadnextpnr-5fc3e8e4d2d82396e8ade480192379ccff95a931.tar.gz
nextpnr-5fc3e8e4d2d82396e8ade480192379ccff95a931.tar.bz2
nextpnr-5fc3e8e4d2d82396e8ade480192379ccff95a931.zip
cleanup: Fix compiler warnings
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'nexus/pack.cc')
-rw-r--r--nexus/pack.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/nexus/pack.cc b/nexus/pack.cc
index 99a6e214..df479ef5 100644
--- a/nexus/pack.cc
+++ b/nexus/pack.cc
@@ -1700,9 +1700,8 @@ struct NexusPacker
: std::string("USED_AS_LOWER_BIT_GENERATION");
}
// Create final mult36 if needed
- CellInfo *mult36 = nullptr;
if (mult36_used) {
- mult36 = create_dsp_cell(ci->name, id_MULT36_CORE, preadd9[0], 6, 6);
+ create_dsp_cell(ci->name, id_MULT36_CORE, preadd9[0], 6, 6);
}
// Configure output registers