Skip to content

Commit

Permalink
another attempt (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakharew committed Jun 22, 2022
1 parent 0ed8d42 commit 53c6ec5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Basics/debugging.h
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ struct AssertionConditionalLogger {

#else

#define TRI_ASSERT(expr) /*GCOVR_EXCL_LINE*/ \
(true) ? ((false) ? (void)(expr) : (void)nullptr) \
: ::arangodb::debug::AssertionNoOpLogger{} & \
::arangodb::debug::NoOpStream {}
#define TRI_ASSERT(expr) /*GCOVR_EXCL_LINE*/ /*cppcheck-suppress ignoredReturnValue*/ \
(true) ? ((false) ? (void)(expr) : (void)nullptr) /*cppcheck-suppress ignoredReturnValue*/ \
: ::arangodb::debug::AssertionNoOpLogger{} & /*cppcheck-suppress ignoredReturnValue*/ \
::arangodb::debug::NoOpStream {} /*cppcheck-suppress ignoredReturnValue*/

#endif // #ifdef ARANGODB_ENABLE_MAINTAINER_MODE
#endif // #ifndef TRI_ASSERT
Expand Down

0 comments on commit 53c6ec5

Please sign in to comment.