summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-pytorch-cpp-binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-pytorch-cpp-binding.cpp')
-rw-r--r--source/slang/slang-ir-pytorch-cpp-binding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-pytorch-cpp-binding.cpp b/source/slang/slang-ir-pytorch-cpp-binding.cpp
index 3a7e8b9fb..432cd93f3 100644
--- a/source/slang/slang-ir-pytorch-cpp-binding.cpp
+++ b/source/slang/slang-ir-pytorch-cpp-binding.cpp
@@ -650,7 +650,7 @@ void markTypeForPyExport(IRType* type, DiagnosticSink* sink)
String tryGetExportTypeName(IRBuilder* builder, IRType* type)
{
- if (auto structType = as<IRStructType>(type))
+ if (as<IRStructType>(type))
{
if (auto pyExportDecoration = type->findDecoration<IRPyExportDecoration>())
return String(pyExportDecoration->getExportName());