summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/esan/esan_interceptors.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/esan/esan_interceptors.cpp b/lib/esan/esan_interceptors.cpp
index 3973aa48b..6c535c5b2 100644
--- a/lib/esan/esan_interceptors.cpp
+++ b/lib/esan/esan_interceptors.cpp
@@ -44,11 +44,13 @@ using namespace __esan; // NOLINT
#define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name)
+// We currently do not use ctx.
#define COMMON_INTERCEPTOR_ENTER(ctx, func, ...) \
do { \
if (UNLIKELY(COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED)) { \
return REAL(func)(__VA_ARGS__); \
} \
+ ctx = nullptr; \
(void)ctx; \
} while (false)