summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-10-06 07:33:24 (GMT)
committerSwift Review <review@swift.im>2015-10-14 16:44:01 (GMT)
commitac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24 (patch)
tree2350ed917d70d2ba7daf027f230e52246117c10f /Swiften/LinkLocal
parent192e8631d4c9a196e13a20d22f57c392bac9dd73 (diff)
downloadswift-ac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24.zip
swift-ac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24.tar.bz2
Fix compiler warnings about unused variables/arguments
Test-Informations: Code compiles without warnings and tests still pass. Change-Id: If74c615706b8125c3c5186f0d940c103749ddb80
Diffstat (limited to 'Swiften/LinkLocal')
-rw-r--r--Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp b/Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp
index 4218de2..ee7194f 100644
--- a/Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp
+++ b/Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -24,6 +24,7 @@ boost::shared_ptr<DNSSDQuerier> PlatformDNSSDQuerierFactory::createQuerier() {
#elif defined(HAVE_AVAHI)
return boost::shared_ptr<DNSSDQuerier>(new AvahiQuerier(eventLoop));
#else
+ (void)eventLoop;
return boost::shared_ptr<DNSSDQuerier>();
#endif
}