From 78f332b0a382fdf6f5992d91b7de55e62a63f691 Mon Sep 17 00:00:00 2001 From: c8ef Date: Tue, 26 Aug 2025 22:44:18 +0800 Subject: [PATCH] [openmp][NFC] Fix a warning when built with clang --- openmp/tools/omptest/src/OmptAssertEvent.cpp | 3 --- 1 file changed, 3 deletions(-) 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"; } }