summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-insert-debug-value-store.cpp
diff options
context:
space:
mode:
authorArielG-NV <159081215+ArielG-NV@users.noreply.github.com>2024-05-22 09:18:22 -0400
committerGitHub <noreply@github.com>2024-05-22 06:18:22 -0700
commit8e15bdc9179213d403b540a879a1816699bde5e6 (patch)
treeee986632900f4ca7c65065f6866cb51d2544105f /source/slang/slang-ir-insert-debug-value-store.cpp
parent52b5bb43fd2933a30b405e7938ff62b209eea026 (diff)
Fix all Clang-14 warnings (#4203)
* fix all Clang-14 warnings * remove a clang-14 warning fix because it is a MSVC warning...
Diffstat (limited to 'source/slang/slang-ir-insert-debug-value-store.cpp')
-rw-r--r--source/slang/slang-ir-insert-debug-value-store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-insert-debug-value-store.cpp b/source/slang/slang-ir-insert-debug-value-store.cpp
index 46116d660..ee343b263 100644
--- a/source/slang/slang-ir-insert-debug-value-store.cpp
+++ b/source/slang/slang-ir-insert-debug-value-store.cpp
@@ -180,7 +180,7 @@ namespace Slang
Index i = 0;
for (; i < accessChain.getCount(); i++)
{
- if (auto key = as<IRStructKey>(accessChain[i]))
+ if (as<IRStructKey>(accessChain[i]))
{
continue;
}