diff options
Diffstat (limited to 'source/compiler-core')
| -rw-r--r-- | source/compiler-core/slang-source-loc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/compiler-core/slang-source-loc.cpp b/source/compiler-core/slang-source-loc.cpp index 75601b815..5f1f51a38 100644 --- a/source/compiler-core/slang-source-loc.cpp +++ b/source/compiler-core/slang-source-loc.cpp @@ -597,7 +597,6 @@ void SourceFile::setContents(ISlangBlob* blob) char const* decodedContentBegin = (char const*)m_contentBlob->getBufferPointer(); const UInt decodedContentSize = m_contentBlob->getBufferSize(); - assert(decodedContentSize <= rawContentSize); char const* decodedContentEnd = decodedContentBegin + decodedContentSize; m_content = UnownedStringSlice(decodedContentBegin, decodedContentEnd); |
