Skip to content

Commit

Permalink
Revert a comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
anush-apple committed Feb 23, 2024
1 parent a13863d commit 801f5e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/support/CodeUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ constexpr inline const _T & max(const _T & a, const _T & b)
* @endcode
*
* @param[in] aStatus A scalar status to be evaluated against zero (0).
*
*/
#define SuccessOrExit(aStatus) nlEXPECT(::chip::ChipError::IsSuccess((aStatus)), exit)

Expand Down Expand Up @@ -419,6 +420,7 @@ constexpr inline const _T & max(const _T & a, const _T & b)
* @param[in] aCondition A Boolean expression to be evaluated.
* @param[in] anAction An expression or block to execute when the
* assertion fails.
*
*/
#define VerifyOrExit(aCondition, anAction) nlEXPECT_ACTION(aCondition, exit, anAction)

Expand Down

0 comments on commit 801f5e1

Please sign in to comment.