forked from qt-creator/qt-creator
Cppcheck: Do not start non-existing tool
Just pollutes the General Messages pane, so skip execution if tool is not existing. Change-Id: Ib78e3a8ccd992ff2d58f183102c778c800156b89 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -110,7 +110,7 @@ QString CppcheckRunner::currentCommand() const
|
||||
|
||||
void CppcheckRunner::checkQueued()
|
||||
{
|
||||
if (m_queue.isEmpty() || m_binary.isEmpty())
|
||||
if (m_queue.isEmpty() || !m_binary.isExecutableFile())
|
||||
return;
|
||||
|
||||
FilePaths files = m_queue.begin().value();
|
||||
|
||||
Reference in New Issue
Block a user