mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Remove an extraneous parenthesis in IF_BUG_OHNCE__
Fixes bug 20141; bugfix on 0.2.9.1-alpha. Patch from Gisle Vanem.
This commit is contained in:
parent
8b7922b282
commit
b88f918227
4
changes/bug20141
Normal file
4
changes/bug20141
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (compilation):
|
||||
- Fix a syntax error in the IF_BUG_ONCE__() macro in non-
|
||||
GCC-compatible compilers. Fixes bug 20141; bugfix on
|
||||
0.2.9.1-alpha. Patch from Gisle Vanem.
|
@ -117,7 +117,7 @@
|
||||
#else
|
||||
#define IF_BUG_ONCE__(cond,var) \
|
||||
static int var = 0; \
|
||||
if (PREDICT_UNLIKELY(cond)) ? \
|
||||
if (PREDICT_UNLIKELY(cond) ? \
|
||||
(var ? 1 : \
|
||||
(var=1, \
|
||||
tor_bug_occurred_(SHORT_FILE__, __LINE__, __func__, \
|
||||
|
Loading…
Reference in New Issue
Block a user