Fix implicit fallthough statement
This commit is contained in:
parent
91c2147fa9
commit
b052eb7da1
|
|
@ -3028,7 +3028,7 @@ PLI_INT32 vpi_get(PLI_INT32 property, vpiHandle object) {
|
||||||
case vpiPacked: {
|
case vpiPacked: {
|
||||||
const VerilatedVpioVarBase* const vop = VerilatedVpioVarBase::castp(object);
|
const VerilatedVpioVarBase* const vop = VerilatedVpioVarBase::castp(object);
|
||||||
if (VL_LIKELY(vop && vop->isStructOrUnion())) return 0;
|
if (VL_LIKELY(vop && vop->isStructOrUnion())) return 0;
|
||||||
// FALLTHRU
|
[[fallthrough]];
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
VL_VPI_ERROR_(__FILE__, __LINE__, "%s: Unsupported property %s, nothing will be returned",
|
VL_VPI_ERROR_(__FILE__, __LINE__, "%s: Unsupported property %s, nothing will be returned",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue