trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: TS-4315: Mistype Conditional ? : Operator
Date Sun, 08 May 2016 21:33:19 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall 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  05888a4   TS-4315: Mistype Conditional ? : Operator
05888a4 is described below

commit 05888a40b0962f2e150eabb90feff7d65c5914ab
Author: kreats <zhxiangxiang@gmail.com>
AuthorDate: Sun May 8 14:32:07 2016 -0700

    TS-4315: Mistype Conditional ? : Operator
---
 iocore/eventsystem/I_Action.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/iocore/eventsystem/I_Action.h b/iocore/eventsystem/I_Action.h
index 6ee2eaa..38fd549 100644
--- a/iocore/eventsystem/I_Action.h
+++ b/iocore/eventsystem/I_Action.h
@@ -204,8 +204,6 @@ public:
 
 #define MAKE_ACTION_RESULT(_x) (Action *)(((uintptr_t)((_x << 1) + 1)))
 
-#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)
 
 #endif /*_Action_h_*/

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message