diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-04-29 12:42:24 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-04-29 10:43:16 +0000 |
commit | d8a258e55a1536523591628e070a4b743ddf338d (patch) | |
tree | ca836c09386cfa30bfe100d1de72054a445e891e /src/plugins | |
parent | b7964e6c971abc4d3d36c7bcf4c6ab80553e1635 (diff) | |
download | qt-creator-d8a258e55a1536523591628e070a4b743ddf338d.tar.gz |
QNX: Quieten warning
Change-Id: Id804213dd44cbeeb63eca09b62b9e4f885552224
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/qnx/qnxbaseconfiguration.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qnx/qnxbaseconfiguration.cpp b/src/plugins/qnx/qnxbaseconfiguration.cpp index f98a7eb5b7..0744d7ae59 100644 --- a/src/plugins/qnx/qnxbaseconfiguration.cpp +++ b/src/plugins/qnx/qnxbaseconfiguration.cpp @@ -137,7 +137,9 @@ bool QnxBaseConfiguration::isValid() const void QnxBaseConfiguration::ctor(const FileName &envScript) { - QTC_ASSERT(!envScript.isEmpty(), return); + if (envScript.isEmpty()) + return; + #if !defined(WITH_TESTS) QTC_ASSERT(envScript.exists(), return); #endif |