diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
index e97d2b7f0073fb932d03280774ffc981dc91b57b..da3b1fa530c49fb9c9f0067d92e4f39a230f1d57 100644
--- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp
@@ -215,6 +215,7 @@ void CMakeProject::parseCMakeLists()
 
 QString CMakeProject::buildParser(const QString &buildConfiguration) const
 {
+    Q_UNUSED(buildConfiguration);
     // TODO this is actually slightly wrong, but do i care?
     // this should call toolchain(buildConfiguration)
     if (!m_toolChain)
diff --git a/src/plugins/qt4projectmanager/qt4runconfiguration.cpp b/src/plugins/qt4projectmanager/qt4runconfiguration.cpp
index 64cb11b448c1d3ff0cb54ece8ed110d056587145..0522fab8d35f9b33e9ea9d5d83ceac92ef1501e6 100644
--- a/src/plugins/qt4projectmanager/qt4runconfiguration.cpp
+++ b/src/plugins/qt4projectmanager/qt4runconfiguration.cpp
@@ -89,8 +89,8 @@ Qt4RunConfigurationWidget::Qt4RunConfigurationWidget(Qt4RunConfiguration *qt4Run
     : QWidget(parent),
     m_qt4RunConfiguration(qt4RunConfiguration),
     m_ignoreChange(false),
-    m_isShown(false),
-    m_usingDyldImageSuffix(0)
+    m_usingDyldImageSuffix(0),
+    m_isShown(false)
 {
     QFormLayout *toplayout = new QFormLayout(this);
     toplayout->setMargin(0);