Skip to content

Commit

Permalink
Merge branch 'maint-0.3.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Oct 15, 2018
2 parents 23ce9a6 + d1ec7bb commit feed41b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/log/util_bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@
* these macros to just be synonyms for PREDICT_(UN)LIKELY.
*/
#define ASSERT_PREDICT_UNLIKELY_(e) \
({ \
( { \
int tor__assert_tmp_value__; \
if (e) \
tor__assert_tmp_value__ = 1; \
else \
tor__assert_tmp_value__ = 0; \
tor__assert_tmp_value__; \
})
} )
#define ASSERT_PREDICT_LIKELY_(e) ASSERT_PREDICT_UNLIKELY_(e)
#else
#define ASSERT_PREDICT_UNLIKELY_(e) PREDICT_UNLIKELY(e)
Expand Down

0 comments on commit feed41b

Please sign in to comment.