summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-04-15 21:14:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-17 18:37:16 (GMT)
commitab8d948710dae16449cbe25fe6f7c95bfa5cf773 (patch)
treebcdc34c00139ffc7c62ac3e92c701f3671fd02ce /Swift
parent7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348 (diff)
downloadswift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.zip
swift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.tar.bz2
Fixing some clang warnings.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/Chat/UserSearchController.cpp2
-rw-r--r--Swift/QtUI/QtMUCConfigurationWindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp
index 47d57d4..839f4fa 100644
--- a/Swift/Controllers/Chat/UserSearchController.cpp
+++ b/Swift/Controllers/Chat/UserSearchController.cpp
@@ -48,7 +48,7 @@ void UserSearchController::handleUIEvent(boost::shared_ptr<UIEvent> event) {
bool handle = false;
boost::shared_ptr<RequestAddUserDialogUIEvent> request = boost::shared_ptr<RequestAddUserDialogUIEvent>();
if (type_ == AddContact) {
- if (request = boost::dynamic_pointer_cast<RequestAddUserDialogUIEvent>(event)) {
+ if ((request = boost::dynamic_pointer_cast<RequestAddUserDialogUIEvent>(event))) {
handle = true;
}
} else {
diff --git a/Swift/QtUI/QtMUCConfigurationWindow.cpp b/Swift/QtUI/QtMUCConfigurationWindow.cpp
index 6fdfd43..83a5f35 100644
--- a/Swift/QtUI/QtMUCConfigurationWindow.cpp
+++ b/Swift/QtUI/QtMUCConfigurationWindow.cpp
@@ -44,7 +44,7 @@ QtMUCConfigurationWindow::~QtMUCConfigurationWindow() {
}
-void QtMUCConfigurationWindow::closeEvent(QCloseEvent* event) {
+void QtMUCConfigurationWindow::closeEvent(QCloseEvent* /*event*/) {
if (!closed_) {
onFormCancelled();
}