summaryrefslogtreecommitdiff
path: root/src/gui/guiChatConsole.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2020-10-05 09:07:33 +0200
committerGitHub <noreply@github.com>2020-10-05 09:07:33 +0200
commitf46509d5e2c681b6da2abdeb27779be3c36a6916 (patch)
treedf654ae11cb73825e071e8222f37a73a1a604707 /src/gui/guiChatConsole.h
parent81c66d6efb9fb0ab8a03b40e2bc22aa49eff9a04 (diff)
downloadminetest-f46509d5e2c681b6da2abdeb27779be3c36a6916.tar.gz
minetest-f46509d5e2c681b6da2abdeb27779be3c36a6916.tar.bz2
minetest-f46509d5e2c681b6da2abdeb27779be3c36a6916.zip
Remove unused functions reported by cppcheck (#10463)
Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
Diffstat (limited to 'src/gui/guiChatConsole.h')
-rw-r--r--src/gui/guiChatConsole.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/guiChatConsole.h b/src/gui/guiChatConsole.h
index 7be40e27c..204f9f9cc 100644
--- a/src/gui/guiChatConsole.h
+++ b/src/gui/guiChatConsole.h
@@ -55,10 +55,6 @@ public:
// Set whether to close the console after the user presses enter.
void setCloseOnEnter(bool close) { m_close_on_enter = close; }
- // Return the desired height (fraction of screen size)
- // Zero if the console is closed or getting closed
- f32 getDesiredHeight() const;
-
// Replace actual line when adding the actual to the history (if there is any)
void replaceAndAddToHistory(const std::wstring &line);