diff options
author | mvandeberg <mvandeberg@me.com> | 2019-06-17 23:16:24 +1000 |
---|---|---|
committer | Noah Falk <noahfalk@users.noreply.github.com> | 2019-06-17 19:01:51 -0700 |
commit | 05659c32af2bc3a0d441edf9a55436873c025aaa (patch) | |
tree | 7c54163273ea45006d46b37e8f73419d7eea203f | |
parent | ee2d0bc269cec5f2d44b9a6fcc18371b3fb983ae (diff) | |
download | coreclr-05659c32af2bc3a0d441edf9a55436873c025aaa.tar.gz coreclr-05659c32af2bc3a0d441edf9a55436873c025aaa.tar.bz2 coreclr-05659c32af2bc3a0d441edf9a55436873c025aaa.zip |
Remove unused TRACE_LEVEL_NONE (#23711)
Removed define TRACE_LEVEL_NONE from eventtracebase.h.
Removed static_assert(GCEventLevel_None == TRACE_LEVEL_NONE, "GCEventLevel_None value mismatch"); from eventtrace.cpp
Enhancement #23711
-rw-r--r-- | src/inc/eventtracebase.h | 1 | ||||
-rw-r--r-- | src/vm/eventtrace.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/inc/eventtracebase.h b/src/inc/eventtracebase.h index 3247348091..c38abe2b77 100644 --- a/src/inc/eventtracebase.h +++ b/src/inc/eventtracebase.h @@ -163,7 +163,6 @@ class Object; /* Tracing levels supported by CLR ETW */ /***************************************/ #define ETWMAX_TRACE_LEVEL 6 // Maximum Number of Trace Levels supported -#define TRACE_LEVEL_NONE 0 // Tracing is not on #define TRACE_LEVEL_FATAL 1 // Abnormal exit or termination #define TRACE_LEVEL_ERROR 2 // Severe errors that need logging #define TRACE_LEVEL_WARNING 3 // Warnings such as allocation failure diff --git a/src/vm/eventtrace.cpp b/src/vm/eventtrace.cpp index 5ade90e57c..7042be1781 100644 --- a/src/vm/eventtrace.cpp +++ b/src/vm/eventtrace.cpp @@ -4206,7 +4206,6 @@ VOID EtwCallbackCommon( bool bIsPublicTraceHandle = ProviderIndex == DotNETRuntime; #if !defined(FEATURE_PAL) - static_assert(GCEventLevel_None == TRACE_LEVEL_NONE, "GCEventLevel_None value mismatch"); static_assert(GCEventLevel_Fatal == TRACE_LEVEL_FATAL, "GCEventLevel_Fatal value mismatch"); static_assert(GCEventLevel_Error == TRACE_LEVEL_ERROR, "GCEventLevel_Error value mismatch"); static_assert(GCEventLevel_Warning == TRACE_LEVEL_WARNING, "GCEventLevel_Warning mismatch"); |