diff options
| author | Vincent Isambart <vincent.isambart@gmail.com> | 2022-04-29 00:37:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-28 11:37:58 -0400 |
| commit | f4c2b0de41f703aa2000c344484e7cd37db56a32 (patch) | |
| tree | 53088595140326c787f77ec41d73024efb0b6f44 /source/slang/slang-ir-witness-table-wrapper.cpp | |
| parent | 80ea76afecf8b039b8bcc71852eaa1def6f85544 (diff) | |
Fix errors when building with the latest Xcode (#2215)
* Fix errors when building with the latest Xcode
* Bring back unused variable to better match comments
Co-authored-by: jsmall-nvidia <jsmall@nvidia.com>
Diffstat (limited to 'source/slang/slang-ir-witness-table-wrapper.cpp')
| -rw-r--r-- | source/slang/slang-ir-witness-table-wrapper.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-ir-witness-table-wrapper.cpp b/source/slang/slang-ir-witness-table-wrapper.cpp index e30ecc767..751c4bc21 100644 --- a/source/slang/slang-ir-witness-table-wrapper.cpp +++ b/source/slang/slang-ir-witness-table-wrapper.cpp @@ -42,17 +42,13 @@ namespace Slang IRType* paramValType = paramType; IRType* argValType = arg->getDataType(); IRInst* argVal = arg; - bool isParamPointer = false; if (auto ptrType = as<IRPtrTypeBase>(paramType)) { - isParamPointer = true; paramValType = ptrType->getValueType(); } - bool isArgPointer = false; auto argType = arg->getDataType(); if (auto argPtrType = as<IRPtrTypeBase>(argType)) { - isArgPointer = true; argValType = argPtrType->getValueType(); argVal = builder->emitLoad(arg); } |
