diff --git a/src/node_internals.h b/src/node_internals.h index f6fc3cfa9a9..f11458d9718 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -342,10 +342,11 @@ class TraceEventScope { TraceEventScope(const char* category, const char* name, void* id) : category_(category), name_(name), id_(id) { - TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_, name_, id_); + // TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_, name_, id_); + (void) category_; (void)name_; (void)id_; } ~TraceEventScope() { - TRACE_EVENT_NESTABLE_ASYNC_END0(category_, name_, id_); + // TRACE_EVENT_NESTABLE_ASYNC_END0(category_, name_, id_); } private: