fixed (silly way) unused ret value

This commit is contained in:
mariusmonton 2021-02-21 20:54:15 +01:00
parent bfb537e0d5
commit 295e86a324
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ void Trace::b_transport(tlm::tlm_generic_payload &trans,
unsigned char *ptr = trans.get_data_ptr();
delay = sc_core::SC_ZERO_TIME;
(void) write(ptSlave, ptr, 1);
int a = write(ptSlave, ptr, 1);
(void) a;
trans.set_response_status(tlm::TLM_OK_RESPONSE);
}