diff options
author | Kevin Smith <git@kismith.co.uk> | 2015-04-05 10:44:02 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-04-08 12:48:46 (GMT) |
commit | 9451f9218a04c27504895e2866454c508af118c6 (patch) | |
tree | 3878ff975fa2a9a2eab1d33b0e094d7030c34924 | |
parent | fabfe76c1a6ced52cd9bcbe70a8ed20868fd04f1 (diff) | |
download | swift-9451f9218a04c27504895e2866454c508af118c6.zip swift-9451f9218a04c27504895e2866454c508af118c6.tar.bz2 |
Fix warning about unused private member variable
Test-Information:
Compiles without the warning, unit tests pass.
Change-Id: I31bce47e4d6595b4ef405a87b56cf71db004e6a0
-rw-r--r-- | Swiften/Network/DummyConnectionServer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Swiften/Network/DummyConnectionServer.h b/Swiften/Network/DummyConnectionServer.h index 09c84b2..c0c2efc 100644 --- a/Swiften/Network/DummyConnectionServer.h +++ b/Swiften/Network/DummyConnectionServer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2014 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -17,8 +17,8 @@ namespace Swift { class SWIFTEN_API DummyConnectionServer : public ConnectionServer, public EventOwner, public boost::enable_shared_from_this<DummyConnectionServer> { public: - DummyConnectionServer(EventLoop* eventLoop, int port) : eventLoop(eventLoop), localAddressPort(HostAddress(), port) {} - DummyConnectionServer(EventLoop* eventLoop, const Swift::HostAddress& hostAddress, int port) : eventLoop(eventLoop), localAddressPort(hostAddress, port) {} + DummyConnectionServer(EventLoop* /*eventLoop*/, int port) : localAddressPort(HostAddress(), port) {} + DummyConnectionServer(EventLoop* /*eventLoop*/, const Swift::HostAddress& hostAddress, int port) : localAddressPort(hostAddress, port) {} virtual ~DummyConnectionServer() {} virtual HostAddressPort getAddressPort() const { @@ -38,7 +38,6 @@ namespace Swift { } private: - EventLoop* eventLoop; HostAddressPort localAddressPort; }; } |