From 8e15bdc9179213d403b540a879a1816699bde5e6 Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Wed, 22 May 2024 09:18:22 -0400 Subject: Fix all Clang-14 warnings (#4203) * fix all Clang-14 warnings * remove a clang-14 warning fix because it is a MSVC warning... --- source/slang/slang-check-conformance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-check-conformance.cpp') diff --git a/source/slang/slang-check-conformance.cpp b/source/slang/slang-check-conformance.cpp index 394d0693f..59547ef0a 100644 --- a/source/slang/slang-check-conformance.cpp +++ b/source/slang/slang-check-conformance.cpp @@ -272,7 +272,7 @@ namespace Slang sized = true; } } - else if (auto intVal = arrayType->getElementCount()) + else if (arrayType->getElementCount()) { sized = true; typeTag = (TypeTag)((int)typeTag | (int)TypeTag::LinkTimeSized); -- cgit v1.2.3