From 92943b2831e600e63310d2a14ec274ecee5631c7 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Fri, 26 Aug 2022 20:52:53 +0000 Subject: [PATCH] dawn: Fix unreachable code warning Change-Id: I98fd18b4747365c6474dc1ca1f9003464d171ec7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100580 Reviewed-by: Austin Eng Commit-Queue: Ben Clayton Kokoro: Kokoro --- src/dawn/native/opengl/ShaderModuleGL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dawn/native/opengl/ShaderModuleGL.cpp b/src/dawn/native/opengl/ShaderModuleGL.cpp index 3ad4cc25ff..6c427eeb03 100644 --- a/src/dawn/native/opengl/ShaderModuleGL.cpp +++ b/src/dawn/native/opengl/ShaderModuleGL.cpp @@ -52,6 +52,7 @@ tint::writer::glsl::Version::Standard ToTintGLStandard(opengl::OpenGLVersion::St case opengl::OpenGLVersion::Standard::ES: return tint::writer::glsl::Version::Standard::kES; } + UNREACHABLE(); } using BindingMap = std::unordered_map;