diff options
| author | Yong He <yonghe@outlook.com> | 2024-05-03 18:02:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 18:02:31 -0700 |
| commit | 59903ef7e4ddd8885f71567bf0fc85527a88fffc (patch) | |
| tree | 700a177860d24610780390b35277aa8ff5c47947 /source/slang/slang-check-stmt.cpp | |
| parent | 54153a3681c7c6ef86c6f7a864719d32a1934240 (diff) | |
Add host shared library target. (#4098)
* Add host shared library target.
* Attempt fix.
* Fix warnings.
* try fix.
* Fix test.
* Fix.
Diffstat (limited to 'source/slang/slang-check-stmt.cpp')
| -rw-r--r-- | source/slang/slang-check-stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-check-stmt.cpp b/source/slang/slang-check-stmt.cpp index f7b085579..2af8f7d08 100644 --- a/source/slang/slang-check-stmt.cpp +++ b/source/slang/slang-check-stmt.cpp @@ -267,7 +267,7 @@ namespace Slang } } } - else if (auto defaultStmt = as<DefaultStmt>(sStmt)) + else if (as<DefaultStmt>(sStmt)) { // check that there is at most one `default` clause if (hasDefaultStmt) |
