diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-08-26 20:20:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-08-26 20:20:26 (GMT) |
commit | bd9852e50fc1e7c2f39e2a3b71af21a91f594675 (patch) | |
tree | 3f8461b7d43b9ab7e93c57831ea9bf2211813854 /Source/CTest/cmCTestGenericHandler.cxx | |
parent | af7221b01507060a87767c2afab64764b80d3839 (diff) | |
download | CMake-bd9852e50fc1e7c2f39e2a3b71af21a91f594675.zip CMake-bd9852e50fc1e7c2f39e2a3b71af21a91f594675.tar.gz CMake-bd9852e50fc1e7c2f39e2a3b71af21a91f594675.tar.bz2 |
COMP: Simplify logic and remove sun compile error
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index cbc2aa7..a406d3e 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/Source/CTest/cmCTestGenericHandler.cxx @@ -109,7 +109,7 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream { ostr << "_" << m_SubmitIndex; } - if ( *m_CTest->GetCurrentTag().c_str() ) + if ( !m_CTest->GetCurrentTag().empty() ) { ostr << "_" << m_CTest->GetCurrentTag(); } |