summaryrefslogtreecommitdiff
path: root/src/common/util_bug.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-09 11:50:25 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-09 11:50:25 +0000
commit9eeaeddbb1aa04248841890e244c4714f165522d (patch)
treebbc12338bf35d7b4890fdaf9076144f05f416adb /src/common/util_bug.h
parent1e330e1947b750be12b217c944534f9284509751 (diff)
downloadtor-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.h4
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; \