diff options
Diffstat (limited to 'src/proxy.cc')
| -rw-r--r-- | src/proxy.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/proxy.cc b/src/proxy.cc index 878b40c..3909541 100644 --- a/src/proxy.cc +++ b/src/proxy.cc @@ -88,7 +88,7 @@ public: return *this; } - iterator operator++(int UNUSED(dummy)) { + iterator operator++(int) { iterator ret(*this); ++(*this); return ret; @@ -1553,8 +1553,7 @@ void ProxyImpl::monitor_error(size_t index, uint16_t status_code, } } -bool ProxyImpl::support_monitor_version( - size_t UNUSED(index), std::string const& version) { +bool ProxyImpl::support_monitor_version(size_t, std::string const& version) { if (version.empty()) return false; // TODO: Actually do some version check here return version.compare(VERSION) == 0; |
