Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66a4893a authored by Henri Chataing's avatar Henri Chataing Committed by Gerrit Code Review
Browse files

Merge "system/gd/os: Deprecate ASSERT" into main

parents fe65c799 7ff81f64
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -138,10 +138,3 @@ static_assert(LOG_TAG != nullptr, "LOG_TAG should never be NULL");
#define LOG_ALWAYS_FATAL(fmt, args...)                                        \
  LOG_ALWAYS_FATAL_INT(_PREPEND_SRC_LOC_IN_LOG(fmt, ##args))
#endif

#define ASSERT(condition)                                    \
  do {                                                       \
    if (!(condition)) {                                      \
      LOG_ALWAYS_FATAL("assertion '" #condition "' failed"); \
    }                                                        \
  } while (false)