diff --git a/openmp/tools/omptest/src/OmptAssertEvent.cpp b/openmp/tools/omptest/src/OmptAssertEvent.cpp index bbf2d7cd4a10f..a5a2e7969e980 100644 --- a/openmp/tools/omptest/src/OmptAssertEvent.cpp +++ b/openmp/tools/omptest/src/OmptAssertEvent.cpp @@ -24,9 +24,6 @@ const char *omptest::to_string(ObserveState State) { return "Always"; case ObserveState::Never: return "Never"; - default: - assert(false && "Requested string representation for unknown ObserveState"); - return "UNKNOWN"; } }