From: Mike McLaughlin Date: Wed, 8 Jul 2015 18:22:09 +0000 (-0700) Subject: CR feedback. X-Git-Tag: accepted/tizen/base/20180629.140029~6581^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=428edaff376eff1a737a2f317feebddb29fae2e3;p=platform%2Fupstream%2Fcoreclr.git CR feedback. --- diff --git a/src/inc/debugmacros.h b/src/inc/debugmacros.h index f805c13..970b1a5 100644 --- a/src/inc/debugmacros.h +++ b/src/inc/debugmacros.h @@ -28,7 +28,7 @@ class SString; bool GetStackTraceAtContext(SString & s, struct _CONTEXT * pContext); void _cdecl DbgWriteEx(LPCTSTR szFmt, ...); -int _DbgBreakCheck(LPCSTR szFile, int iLine, LPCSTR szExpr, BOOL fConstrained = FALSE); +bool _DbgBreakCheck(LPCSTR szFile, int iLine, LPCSTR szExpr, BOOL fConstrained = FALSE); extern VOID DbgAssertDialog(const char *szFile, int iLine, const char *szExpr); diff --git a/src/utilcode/debug.cpp b/src/utilcode/debug.cpp index fc80aac..d5be6cb 100644 --- a/src/utilcode/debug.cpp +++ b/src/utilcode/debug.cpp @@ -339,7 +339,7 @@ static const char * szLowMemoryAssertMessage = "Assert failure (unable to format //***************************************************************************** // This function will handle ignore codes and tell the user what is happening. //***************************************************************************** -int _DbgBreakCheck( +bool _DbgBreakCheck( LPCSTR szFile, int iLine, LPCSTR szExpr, @@ -547,7 +547,7 @@ int _DbgBreakCheck( return false; } -int _DbgBreakCheckNoThrow( +bool _DbgBreakCheckNoThrow( LPCSTR szFile, int iLine, LPCSTR szExpr, @@ -565,8 +565,8 @@ int _DbgBreakCheckNoThrow( DebugBreak(); } - int failed = false; - int result = false; + bool failed = false; + bool result = false; EX_TRY { result = _DbgBreakCheck(szFile, iLine, szExpr, fConstrained);