120-disable_assert.patch 309 B

123456789101112
  1. --- a/libxfs/libxfs_priv.h
  2. +++ b/libxfs/libxfs_priv.h
  3. @@ -84,9 +84,6 @@ extern uint32_t crc32c_le(uint32_t crc,
  4. /* for all the support code that uses progname in error messages */
  5. extern char *progname;
  6. -#undef ASSERT
  7. -#define ASSERT(ex) assert(ex)
  8. -
  9. #ifndef EWRONGFS
  10. #define EWRONGFS EINVAL
  11. #endif