summaryrefslogtreecommitdiff
path: root/src/buffer.inl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.inl.hh')
-rw-r--r--src/buffer.inl.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/buffer.inl.hh b/src/buffer.inl.hh
index 65474f7d..499d63f2 100644
--- a/src/buffer.inl.hh
+++ b/src/buffer.inl.hh
@@ -102,8 +102,6 @@ inline ByteCoord Buffer::back_coord() const
inline ByteCoord Buffer::end_coord() const
{
- if (m_lines.empty())
- return { 0_line, 0 };
return { line_count() - 1, m_lines.back().length() };
}