You must assert a logical not NULL.
This fixes a small problem where an assert was being called with NULL instead of 0.
This commit is contained in:
parent
b0c4a87133
commit
ac4cb1bbe9
|
|
@ -229,7 +229,7 @@ const Link& NetPins::pin(unsigned idx) const
|
|||
if (!pins_ && !disable_virtual_pins) {
|
||||
cerr << get_fileline() << ": internal error: pin is unexpectedly"
|
||||
" virtual, try again with -pDISABLE_VIRTUAL_PINS=true" << endl;
|
||||
assert(NULL);
|
||||
assert(0);
|
||||
}
|
||||
assert(pins_);
|
||||
assert(idx < npins_);
|
||||
|
|
|
|||
Loading…
Reference in New Issue