From bd9852e50fc1e7c2f39e2a3b71af21a91f594675 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 26 Aug 2005 16:20:26 -0400 Subject: [PATCH] COMP: Simplify logic and remove sun compile error --- Source/CTest/cmCTestGenericHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index cbc2aa710..a406d3eef 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(); }