aboutsummaryrefslogtreecommitdiff
path: root/evspy-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'evspy-core.h')
-rw-r--r--evspy-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/evspy-core.h b/evspy-core.h
index 6cbe913..eec489c 100644
--- a/evspy-core.h
+++ b/evspy-core.h
@@ -92,8 +92,8 @@
*/
#define evs_delete() \
({ \
- if (wrp != rdp && evs_decp(wrp) == rdp) \
- evs_decp(rdp); \
+ if (likely(wrp != rdp)) \
+ evs_decp(wrp); \
})
/*