Fix cppcheck warning and update suppression file
This commit is contained in:
parent
c104586760
commit
b098e31cc7
|
|
@ -1,3 +1,3 @@
|
||||||
// These are correct and are used to find the base (zero) pin.
|
// These are correct and are used to find the base (zero) pin.
|
||||||
thisSubtraction:netlist.h:4347
|
thisSubtraction:netlist.h:4430
|
||||||
thisSubtraction:netlist.h:4356
|
thisSubtraction:netlist.h:4439
|
||||||
|
|
|
||||||
|
|
@ -553,7 +553,7 @@ NetNet* PEIdent::elaborate_lnet_common_(Design*des, NetScope*scope,
|
||||||
// itself.
|
// itself.
|
||||||
ivl_assert(*this, member->packed_dims.size() <= 1);
|
ivl_assert(*this, member->packed_dims.size() <= 1);
|
||||||
ivl_assert(*this, path_tail.index.size() <= 1);
|
ivl_assert(*this, path_tail.index.size() <= 1);
|
||||||
if (path_tail.index.size() > 0) {
|
if (! path_tail.index.empty()) {
|
||||||
long tmp_off;
|
long tmp_off;
|
||||||
unsigned long tmp_wid;
|
unsigned long tmp_wid;
|
||||||
const index_component_t&tail_sel = path_tail.index.back();
|
const index_component_t&tail_sel = path_tail.index.back();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue