You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2016/05/08 21:33:19 UTC

[trafficserver] branch master updated: TS-4315: Mistype Conditional ? : Operator

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 <zh...@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" <co...@trafficserver.apache.org>'].