diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-04 16:23:21 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-04 16:23:21 -0400 |
| commit | a7dd782d7895e1f277573fb9923be653ab813941 (patch) | |
| tree | d2d852a6cd806034af6ed1d677f617e7867a020f /source/slang/check.cpp | |
| parent | 8d19b2b4443101040acaf7d9dce2a7a6affea712 (diff) | |
fix linux build
Diffstat (limited to 'source/slang/check.cpp')
| -rw-r--r-- | source/slang/check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/check.cpp b/source/slang/check.cpp index cbdf68bf2..65b2295cc 100644 --- a/source/slang/check.cpp +++ b/source/slang/check.cpp @@ -5993,7 +5993,7 @@ namespace Slang RefPtr<Expr> visitStaticMemberExpr(StaticMemberExpr* /*expr*/) { SLANG_UNEXPECTED("should not occur in unchecked AST"); - UNREACHABLE_RETURN(expr); + UNREACHABLE_RETURN(nullptr); } RefPtr<Expr> lookupResultFailure( |
