From 56d60023157f1019263fb1b8aadde8dbb064bafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89der=20F=2E=20Zulian?= Date: Mon, 22 Aug 2016 10:08:13 +0200 Subject: [PATCH] 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). --- DRAMSys/simulator/src/simulation/Arbiter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DRAMSys/simulator/src/simulation/Arbiter.h b/DRAMSys/simulator/src/simulation/Arbiter.h index 76939a08..d41273cd 100644 --- a/DRAMSys/simulator/src/simulation/Arbiter.h +++ b/DRAMSys/simulator/src/simulation/Arbiter.h @@ -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);