diff options
Diffstat (limited to 'source/slang/slang-workspace-version.cpp')
| -rw-r--r-- | source/slang/slang-workspace-version.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/slang/slang-workspace-version.cpp b/source/slang/slang-workspace-version.cpp index dde5b9325..2ac079047 100644 --- a/source/slang/slang-workspace-version.cpp +++ b/source/slang/slang-workspace-version.cpp @@ -429,7 +429,6 @@ void DocumentVersion::oneBasedUTF8LocToZeroBasedUTF16Loc( } Index rsLine = inLine - 1; - auto line = lines[rsLine]; auto bounds = getUTF16Boundaries(inLine); outLine = rsLine; outCol = std::lower_bound(bounds.begin(), bounds.end(), inCol - 1) - bounds.begin(); |
