Fix some compiler warnings

This commit is contained in:
Cary R 2020-12-14 20:06:04 -08:00
parent a1dd6bb056
commit 7f2ee99ebd
2 changed files with 2 additions and 2 deletions

View File

@ -631,7 +631,7 @@ void vvp_fun_anyedge_sa::recv_string(vvp_net_ptr_t port, const std::string&bit,
* An anyedge receiving an object should do nothing with it, but should
* trigger waiting threads.
*/
void vvp_fun_anyedge_sa::recv_object(vvp_net_ptr_t port, vvp_object_t bit,
void vvp_fun_anyedge_sa::recv_object(vvp_net_ptr_t port, vvp_object_t,
vvp_context_t)
{
run_waiting_threads_(threads_);

View File

@ -845,7 +845,7 @@ void __vpiNullConst::vpi_get_value(p_vpi_value val)
vpiHandle vpip_make_null_const()
{
struct __vpiNullConst*obj = new __vpiNullConst;
__vpiNullConst*obj = new __vpiNullConst;
return obj;
}