diff options
| author | Tobias Markmann <tm@ayena.de> | 2015-10-06 07:33:24 (GMT) |
|---|---|---|
| committer | Swift Review <review@swift.im> | 2015-10-14 16:44:01 (GMT) |
| commit | ac6cf9659718a18b1ea22f72dbf0cdb64cbf9a24 (patch) | |
| tree | 2350ed917d70d2ba7daf027f230e52246117c10f /Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp | |
| parent | 192e8631d4c9a196e13a20d22f57c392bac9dd73 (diff) | |
| download | swift-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/DNSSD/PlatformDNSSDQuerierFactory.cpp')
| -rw-r--r-- | Swiften/LinkLocal/DNSSD/PlatformDNSSDQuerierFactory.cpp | 3 |
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 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -24,6 +24,7 @@ boost::shared_ptr<DNSSDQuerier> PlatformDNSSDQuerierFactory::createQuerier() { | |||
| 24 | #elif defined(HAVE_AVAHI) | 24 | #elif defined(HAVE_AVAHI) |
| 25 | return boost::shared_ptr<DNSSDQuerier>(new AvahiQuerier(eventLoop)); | 25 | return boost::shared_ptr<DNSSDQuerier>(new AvahiQuerier(eventLoop)); |
| 26 | #else | 26 | #else |
| 27 | (void)eventLoop; | ||
| 27 | return boost::shared_ptr<DNSSDQuerier>(); | 28 | return boost::shared_ptr<DNSSDQuerier>(); |
| 28 | #endif | 29 | #endif |
| 29 | } | 30 | } |
Swift