Commented "id" parameter from transport_dbg() to avoid compilation warnings.

Currently we extract the socket ID information by decoding the address
(decodedAddress.channel is the socket ID that we use).
This commit is contained in:
Éder F. Zulian
2016-08-22 10:08:13 +02:00
parent 6fd854fb2f
commit 56d6002315

View File

@@ -135,7 +135,7 @@ private:
return TLM_ACCEPTED;
}
virtual unsigned int transport_dbg(int id, tlm::tlm_generic_payload &trans)
virtual unsigned int transport_dbg(int /*id*/, tlm::tlm_generic_payload &trans)
{
DecodedAddress decodedAddress = xmlAddressDecoder::getInstance().decodeAddress(trans.get_address());
return iSocket[decodedAddress.channel]->transport_dbg(trans);