patch-src_include_k5-thread_h 557 B

12345678910111213141516171819
  1. --- krb5-1.12.1.orig/src/include/k5-thread.h 2014-01-16 01:44:15.000000000 +0100
  2. +++ krb5-1.12.1/src/include/k5-thread.h 2014-06-05 20:59:34.000000000 +0200
  3. @@ -380,14 +380,12 @@ static inline int k5_mutex_finish_init(k
  4. static inline void k5_mutex_lock(k5_mutex_t *m)
  5. {
  6. - int r = k5_os_mutex_lock(m);
  7. - assert(r == 0);
  8. + k5_os_mutex_lock(m);
  9. }
  10. static inline void k5_mutex_unlock(k5_mutex_t *m)
  11. {
  12. - int r = k5_os_mutex_unlock(m);
  13. - assert(r == 0);
  14. + k5_os_mutex_unlock(m);
  15. }
  16. #define k5_mutex_assert_locked(M) ((void)(M))