Index: src/internet/test/ipv4-list-routing-test-suite.cc |
=================================================================== |
--- a/src/internet/test/ipv4-list-routing-test-suite.cc |
+++ b/src/internet/test/ipv4-list-routing-test-suite.cc |
@@ -31,16 +31,16 @@ |
*/ |
class Ipv4ARouting : public Ipv4RoutingProtocol { |
public: |
- Ptr<Ipv4Route> RouteOutput (Ptr<Packet> p, const Ipv4Header &header, Ptr<NetDevice> oif, Socket::SocketErrno &sockerr) { return 0; } |
+ Ptr<Ipv4Route> RouteOutput (Ptr<Packet> p, const Ipv4Header &header, Ptr<NetDevice> oif, Socket::SocketErrno &sockerr) { NS_UNUSED (header); NS_UNUSED (sockerr); return 0; } |
bool RouteInput (Ptr<const Packet> p, const Ipv4Header &header, Ptr<const NetDevice> idev, |
UnicastForwardCallback ucb, MulticastForwardCallback mcb, |
- LocalDeliverCallback lcb, ErrorCallback ecb) { return false; } |
- void NotifyInterfaceUp (uint32_t interface) {} |
- void NotifyInterfaceDown (uint32_t interface) {} |
- void NotifyAddAddress (uint32_t interface, Ipv4InterfaceAddress address) {} |
- void NotifyRemoveAddress (uint32_t interface, Ipv4InterfaceAddress address) {} |
+ LocalDeliverCallback lcb, ErrorCallback ecb) { NS_UNUSED (header); return false; } |
+ void NotifyInterfaceUp (uint32_t interface) {NS_UNUSED (interface);} |
+ void NotifyInterfaceDown (uint32_t interface) {NS_UNUSED (interface);} |
+ void NotifyAddAddress (uint32_t interface, Ipv4InterfaceAddress address) {NS_UNUSED (interface); NS_UNUSED (address);} |
+ void NotifyRemoveAddress (uint32_t interface, Ipv4InterfaceAddress address) {NS_UNUSED (interface); NS_UNUSED (address);} |
void SetIpv4 (Ptr<Ipv4> ipv4) {} |
- void PrintRoutingTable (Ptr<OutputStreamWrapper> stream, Time::Unit unit) const {} |
+ void PrintRoutingTable (Ptr<OutputStreamWrapper> stream, Time::Unit unit) const {NS_UNUSED (unit);} |
}; |
/** |
@@ -51,16 +51,16 @@ |
*/ |
class Ipv4BRouting : public Ipv4RoutingProtocol { |
public: |
- Ptr<Ipv4Route> RouteOutput (Ptr<Packet> p, const Ipv4Header &header, Ptr<NetDevice> oif, Socket::SocketErrno &sockerr) { return 0; } |
+ Ptr<Ipv4Route> RouteOutput (Ptr<Packet> p, const Ipv4Header &header, Ptr<NetDevice> oif, Socket::SocketErrno &sockerr) { NS_UNUSED (header); NS_UNUSED (sockerr); return 0; } |
bool RouteInput (Ptr<const Packet> p, const Ipv4Header &header, Ptr<const NetDevice> idev, |
UnicastForwardCallback ucb, MulticastForwardCallback mcb, |
- LocalDeliverCallback lcb, ErrorCallback ecb) { return false; } |
- void NotifyInterfaceUp (uint32_t interface) {} |
- void NotifyInterfaceDown (uint32_t interface) {} |
- void NotifyAddAddress (uint32_t interface, Ipv4InterfaceAddress address) {} |
- void NotifyRemoveAddress (uint32_t interface, Ipv4InterfaceAddress address) {} |
+ LocalDeliverCallback lcb, ErrorCallback ecb) { NS_UNUSED (header); return false; } |
+ void NotifyInterfaceUp (uint32_t interface) {NS_UNUSED (interface);} |
+ void NotifyInterfaceDown (uint32_t interface) {NS_UNUSED (interface);} |
+ void NotifyAddAddress (uint32_t interface, Ipv4InterfaceAddress address) {NS_UNUSED (interface); NS_UNUSED (address);} |
+ void NotifyRemoveAddress (uint32_t interface, Ipv4InterfaceAddress address) {NS_UNUSED (interface); NS_UNUSED (address);} |
void SetIpv4 (Ptr<Ipv4> ipv4) {} |
- void PrintRoutingTable (Ptr<OutputStreamWrapper> stream, Time::Unit unit) const {} |
+ void PrintRoutingTable (Ptr<OutputStreamWrapper> stream, Time::Unit unit) const {NS_UNUSED (unit);} |
}; |
/** |