diff options
Diffstat (limited to 'source/slang/slang-doc-ast.cpp')
| -rw-r--r-- | source/slang/slang-doc-ast.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-doc-ast.cpp b/source/slang/slang-doc-ast.cpp index 8301b1a63..386c8e6d0 100644 --- a/source/slang/slang-doc-ast.cpp +++ b/source/slang/slang-doc-ast.cpp @@ -55,10 +55,6 @@ static void _addDeclRec(Decl* decl, List<Decl*>& outDecls) { outDecls.add(decl); } - else - { - SLANG_ASSERT(!"Decl without a location!"); - } if (GenericDecl* genericDecl = as<GenericDecl>(decl)) { |
