[sdk/kdiff3] src: Drop uneeded assert
Michael Reeves <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit c27b84cbb52c48cd39422045619cfee172cbe7ca by Michael Reeves.
Committed on 22/07/2026 at 01:48.
Pushed by mreeves into branch 'master'.
Drop uneeded assert
M +0 -1 src/SourceData.cpp
https://invent.kde.org/sdk/kdiff3/-/commit/c27b84cbb52c48cd39422045619cfee172cbe7ca
diff --git a/src/SourceData.cpp b/src/SourceData.cpp
index b98a7e81..c48cdbef 100644
--- a/src/SourceData.cpp
+++ b/src/SourceData.cpp
@@ -175,7 +175,6 @@ const std::shared_ptr<LineDataVector>& SourceData::getLineDataForDisplay() const
LineType SourceData::lineCount() const
{
- assert(m_normalData.m_pBuf != nullptr);
return SafeInt<LineType>(m_normalData.lineCount());
}