Skip to content

Commit d9eaeb7

Browse files
committed
src: fix ETW_WRITE_EMPTY_EVENT macro
A comment was written before the last line, hiding a check.
1 parent 4d309cc commit d9eaeb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_win32_etw_provider-inl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ extern int events_enabled;
115115
DWORD status = event_write(node_provider, \
116116
&eventDescriptor, \
117117
0, \
118-
NULL); // NOLINT (readability/null_usage) \
119-
CHECK_EQ(status, ERROR_SUCCESS);
118+
NULL); \
119+
CHECK_EQ(status, ERROR_SUCCESS); // NOLINT (readability/null_usage)
120120

121121

122122
void NODE_HTTP_SERVER_REQUEST(node_dtrace_http_server_request_t* req,

0 commit comments

Comments
 (0)