diff options
Diffstat (limited to 'src/plugins/cppcheck/cppcheckrunner.cpp')
-rw-r--r-- | src/plugins/cppcheck/cppcheckrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppcheckrunner.cpp b/src/plugins/cppcheck/cppcheckrunner.cpp index c31ff515a5..92bdd59c52 100644 --- a/src/plugins/cppcheck/cppcheckrunner.cpp +++ b/src/plugins/cppcheck/cppcheckrunner.cpp @@ -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(); |