diff options
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 8fc646f..4d33458 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -27,7 +27,7 @@ class cmXMLWriter; cmCTestLog_msg << msg; \ (ctSelf)->Log(cmCTest::logType, __FILE__, __LINE__, \ cmCTestLog_msg.str().c_str()); \ - } while (0) + } while (false) #define cmCTestOptionalLog(ctSelf, logType, msg, suppress) \ do { \ @@ -35,7 +35,7 @@ class cmXMLWriter; cmCTestLog_msg << msg; \ (ctSelf)->Log(cmCTest::logType, __FILE__, __LINE__, \ cmCTestLog_msg.str().c_str(), suppress); \ - } while (0) + } while (false) /** \class cmCTest * \brief Represents a ctest invocation. |