Skip to content

Commit

Permalink
Remove a few unused functions reported by callcatcher (#11658)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Oct 12, 2021
1 parent 6de8d77 commit ecc6f4b
Show file tree
Hide file tree
Showing 24 changed files with 6 additions and 799 deletions.
5 changes: 0 additions & 5 deletions src/chat.cpp
Expand Up @@ -142,11 +142,6 @@ u32 ChatBuffer::getRows() const
return m_rows;
}

void ChatBuffer::scrollTop()
{
m_scroll = getTopScrollPos();
}

void ChatBuffer::reformat(u32 cols, u32 rows)
{
if (cols == 0 || rows == 0)
Expand Down
2 changes: 0 additions & 2 deletions src/chat.h
Expand Up @@ -110,8 +110,6 @@ class ChatBuffer
void scrollAbsolute(s32 scroll);
// Scroll to bottom of buffer (newest)
void scrollBottom();
// Scroll to top of buffer (oldest)
void scrollTop();

// Functions for keeping track of whether the lines were modified by any
// preceding operations
Expand Down

0 comments on commit ecc6f4b

Please sign in to comment.