[tor-commits] [tor/maint-0.3.4] Fix make check-spaces.

nickm at torproject.org nickm at torproject.org
Mon Oct 15 16:47:55 UTC 2018


commit 5b28190c67ac6828e588c0ec54fe88eab0fb45fb
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Oct 15 12:47:19 2018 -0400

    Fix make check-spaces.
---
 src/common/util_bug.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/util_bug.h b/src/common/util_bug.h
index f3e5b7c96..0db6bb6ab 100644
--- a/src/common/util_bug.h
+++ b/src/common/util_bug.h
@@ -44,14 +44,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)





More information about the tor-commits mailing list