Commit 08f8097c authored by brucedawson's avatar brucedawson Committed by Commit bot

Fix /analyze warning and update code URL.

Review URL: https://codereview.chromium.org/1096303003

Cr-Commit-Position: refs/heads/master@{#330569}
parent 390c513b
......@@ -12,7 +12,7 @@
#include "base/trace_event/trace_event_impl.h"
// The GetProcAddress technique is borrowed from
// https://github.com/randomascii/main/tree/master/xperf/ETWProviders
// https://github.com/google/UIforETW/tree/master/ETWProviders
//
// EVNTAPI is used in evntprov.h which is included by chrome_events_win.h.
// We define EVNTAPI without the DECLSPEC_IMPORT specifier so that we can
......@@ -51,6 +51,7 @@ ULONG EVNTAPI EventRegister(LPCGUID ProviderId,
if (EventRegisterProc)
return EventRegisterProc(ProviderId, EnableCallback, CallbackContext,
RegHandle);
*RegHandle = 0;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment