diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
index 47a1748f4e72ddc99aebfbfcc51974ee22de4e1a..c04854353a6b4650e137a88ee157b620d8824205 100644
--- a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
+++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
@@ -52,6 +52,8 @@ public:
     }
     virtual bool validatePath(const QString &path, QString *errorMessage = 0)
     {
+        Q_UNUSED(path);
+        Q_UNUSED(errorMessage);
         return true;
     }
 };