avoid two unnecesary compile-time warnings
This commit is contained in:
parent
149bfa05d8
commit
b99206ac8e
|
|
@ -112,9 +112,10 @@ void NetDelaySrc::dump(ostream&o, unsigned ind) const
|
||||||
o << setw(ind) << "" << "specify delay";
|
o << setw(ind) << "" << "specify delay";
|
||||||
if (posedge_) o << " posedge";
|
if (posedge_) o << " posedge";
|
||||||
if (negedge_) o << " negedge";
|
if (negedge_) o << " negedge";
|
||||||
if (is_condit())
|
if (is_condit()) {
|
||||||
if (has_condit()) o << " if";
|
if (has_condit()) o << " if";
|
||||||
else o << " ifnone";
|
else o << " ifnone";
|
||||||
|
}
|
||||||
o << " src "
|
o << " src "
|
||||||
<< "(" << transition_delays_[IVL_PE_01]
|
<< "(" << transition_delays_[IVL_PE_01]
|
||||||
<< "," << transition_delays_[IVL_PE_10]
|
<< "," << transition_delays_[IVL_PE_10]
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ static s_vpi_error_info vpip_last_error = { 0, 0, 0, 0, 0, 0, 0 };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The vpip_string function creates a constant string from the pass
|
* The vpip_string function creates a constant string from the pass
|
||||||
* input. This constant string is permanently allocate from an
|
* input. This constant string is permanently allocated from an
|
||||||
* efficient string buffer store.
|
* efficient string buffer store.
|
||||||
*/
|
*/
|
||||||
struct vpip_string_chunk {
|
struct vpip_string_chunk {
|
||||||
|
|
@ -115,7 +115,7 @@ PLI_INT32 vpi_chk_error(p_vpi_error_info info)
|
||||||
info->level = vpip_last_error.level;
|
info->level = vpip_last_error.level;
|
||||||
info->message = vpip_last_error.message;
|
info->message = vpip_last_error.message;
|
||||||
info->product = vpi_vlog_info.product;
|
info->product = vpi_vlog_info.product;
|
||||||
info->code = "";
|
info->code = (char *) "";
|
||||||
info->file = 0;
|
info->file = 0;
|
||||||
info->line = 0;
|
info->line = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue