mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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.
This commit is contained in:
parent
81c66d6efb
commit
f46509d5e2
29 changed files with 14 additions and 440 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue