From b52880892d1a85203e58cdb049877e7ae4c16663 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 13 Jan 2010 19:35:38 -0800 Subject: Added strict compiler flags. Made changes to meet compilation. Added test to verify ip and mac addr code. --- lib/usrp/dboard/base.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/usrp/dboard/base.cpp') diff --git a/lib/usrp/dboard/base.cpp b/lib/usrp/dboard/base.cpp index 3166cdedc..c3fc332c9 100644 --- a/lib/usrp/dboard/base.cpp +++ b/lib/usrp/dboard/base.cpp @@ -38,11 +38,11 @@ rx_base::~rx_base(void){ /* NOP */ } -void rx_base::tx_get(const wax::type &key, wax::type &val){ +void rx_base::tx_get(const wax::type &, wax::type &){ throw std::runtime_error("cannot call tx_get on a rx dboard"); } -void rx_base::tx_set(const wax::type &key, const wax::type &val){ +void rx_base::tx_set(const wax::type &, const wax::type &){ throw std::runtime_error("cannot call tx_set on a rx dboard"); } @@ -58,10 +58,10 @@ tx_base::~tx_base(void){ /* NOP */ } -void tx_base::rx_get(const wax::type &key, wax::type &val){ +void tx_base::rx_get(const wax::type &, wax::type &){ throw std::runtime_error("cannot call rx_get on a tx dboard"); } -void tx_base::rx_set(const wax::type &key, const wax::type &val){ +void tx_base::rx_set(const wax::type &, const wax::type &){ throw std::runtime_error("cannot call rx_set on a tx dboard"); } -- cgit v1.2.3