Skip to content

Commit ecc6f4b

Browse files
authored
Remove a few unused functions reported by callcatcher (#11658)
1 parent 6de8d77 commit ecc6f4b

24 files changed

+6
-799
lines changed

src/chat.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ u32 ChatBuffer::getRows() const
142142
return m_rows;
143143
}
144144

145-
void ChatBuffer::scrollTop()
146-
{
147-
m_scroll = getTopScrollPos();
148-
}
149-
150145
void ChatBuffer::reformat(u32 cols, u32 rows)
151146
{
152147
if (cols == 0 || rows == 0)

src/chat.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ class ChatBuffer
110110
void scrollAbsolute(s32 scroll);
111111
// Scroll to bottom of buffer (newest)
112112
void scrollBottom();
113-
// Scroll to top of buffer (oldest)
114-
void scrollTop();
115113

116114
// Functions for keeping track of whether the lines were modified by any
117115
// preceding operations

0 commit comments

Comments
 (0)