diff options
author | Andrea Shepard <andrea@torproject.org> | 2016-06-09 11:50:25 +0000 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2016-06-09 11:50:25 +0000 |
commit | 9eeaeddbb1aa04248841890e244c4714f165522d (patch) | |
tree | bbc12338bf35d7b4890fdaf9076144f05f416adb /src/common/util_bug.h | |
parent | 1e330e1947b750be12b217c944534f9284509751 (diff) | |
download | tor-9eeaeddbb1aa04248841890e244c4714f165522d.tar.gz tor-9eeaeddbb1aa04248841890e244c4714f165522d.zip |
Reduce make check-spaces noise
Diffstat (limited to 'src/common/util_bug.h')
-rw-r--r-- | src/common/util_bug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util_bug.h b/src/common/util_bug.h index 36056aa4bd..3f77e0a99e 100644 --- a/src/common/util_bug.h +++ b/src/common/util_bug.h @@ -104,14 +104,14 @@ #ifdef __GNUC__ #define IF_BUG_ONCE__(cond,var) \ - if (({ \ + if (( { \ static int var = 0; \ int bool_result = (cond); \ if (PREDICT_UNLIKELY(bool_result) && !var) { \ var = 1; \ tor_bug_occurred_(SHORT_FILE__, __LINE__, __func__, #cond, 1); \ } \ - PREDICT_UNLIKELY(bool_result); })) + PREDICT_UNLIKELY(bool_result); } )) #else #define IF_BUG_ONCE__(cond,var) \ static int var = 0; \ |