This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 6aea6c5 Remove redundant ACTION_RESULT macro parentheses.
6aea6c5 is described below
commit 6aea6c51b145988a806326e26f7e5831c51544cc
Author: kreats <[email protected]>
AuthorDate: Thu Mar 31 21:48:22 2016 -0400
Remove redundant ACTION_RESULT macro parentheses.
This closes #547.
---
iocore/eventsystem/I_Action.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/iocore/eventsystem/I_Action.h b/iocore/eventsystem/I_Action.h
index 4f534d0..6ee2eaa 100644
--- a/iocore/eventsystem/I_Action.h
+++ b/iocore/eventsystem/I_Action.h
@@ -204,8 +204,7 @@ public:
#define MAKE_ACTION_RESULT(_x) (Action *)(((uintptr_t)((_x << 1) + 1)))
-#define ACTION_RESULT(_x) \
- (int)((((uintptr_t)_x)&1)!=0?(((uintptr_t)>>1):(uintptr_t)0))
+#define ACTION_RESULT(_x) (int)((((uintptr_t)_x) & 1) != 0 ? ((uintptr_t)(_x)
>> 1) : (uintptr_t)0)
#define IS_ACTION_RESULT(_x) ((((uintptr_t)_x) & 1) != 0)
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].