summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2015-02-09 22:33:13 (GMT)
committerKevin Smith <git@kismith.co.uk>2015-02-09 22:35:35 (GMT)
commit66567c962202920b0d6bc06029ed37565cd4a81c (patch)
tree7abc7f552e947b0168aaf338017d1759e278e2b5 /Swift
parent6b03bde42313bbc45c091930f0c4e6952924308b (diff)
downloadswift-66567c962202920b0d6bc06029ed37565cd4a81c.zip
swift-66567c962202920b0d6bc06029ed37565cd4a81c.tar.bz2
Fix unused parameter warnings in some testing headers
Test-Information: Warnings went away in another project using these headers Change-Id: I336925153a4a549bb33cc977c6a483ec81cd1ff6
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/DummySoundPlayer.h4
-rw-r--r--Swift/Controllers/DummySystemTray.h6
-rw-r--r--Swift/Controllers/Storages/MemoryStoragesFactory.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/Swift/Controllers/DummySoundPlayer.h b/Swift/Controllers/DummySoundPlayer.h
index 3148ba5..2d99fb9 100644
--- a/Swift/Controllers/DummySoundPlayer.h
+++ b/Swift/Controllers/DummySoundPlayer.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2013 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -11,6 +11,6 @@
namespace Swift {
class DummySoundPlayer : public SoundPlayer {
public:
- void playSound(SoundEffect sound, const std::string& soundResource) {}
+ void playSound(SoundEffect /*sound*/, const std::string& /*soundResource*/) {}
};
}
diff --git a/Swift/Controllers/DummySystemTray.h b/Swift/Controllers/DummySystemTray.h
index c2a566b..10b7c33 100644
--- a/Swift/Controllers/DummySystemTray.h
+++ b/Swift/Controllers/DummySystemTray.h
@@ -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.
*/
@@ -11,8 +11,8 @@
namespace Swift {
class DummySystemTray : public SystemTray {
public:
- void setUnreadMessages(bool some) {}
- void setStatusType(StatusShow::Type type) {}
+ void setUnreadMessages(bool /*some*/) {}
+ void setStatusType(StatusShow::Type /*type*/) {}
void setConnecting() {}
};
}
diff --git a/Swift/Controllers/Storages/MemoryStoragesFactory.h b/Swift/Controllers/Storages/MemoryStoragesFactory.h
index 5953eb0..8c68f19 100644
--- a/Swift/Controllers/Storages/MemoryStoragesFactory.h
+++ b/Swift/Controllers/Storages/MemoryStoragesFactory.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2013 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -12,12 +12,12 @@
namespace Swift {
class JID;
class CryptoProvider;
-
+
class MemoryStoragesFactory : public StoragesFactory {
public:
MemoryStoragesFactory(CryptoProvider* cryptoProvider) : cryptoProvider_(cryptoProvider) {}
- virtual Storages* createStorages(const JID& profile) const {
+ virtual Storages* createStorages(const JID& /*profile*/) const {
return new MemoryStorages(cryptoProvider_);
}
private: