aboutsummaryrefslogtreecommitdiff
path: root/src/network/connection.cpp
diff options
context:
space:
mode:
authornerzhul <loic.blot@unix-experience.fr>2015-08-14 14:00:36 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2015-08-15 08:48:20 +0200
commitc4b5561b3fdf4c2cac401774e7c54856c1546855 (patch)
treea8a2e8861b4cfc3e105dac3107f9185d7c56c2c0 /src/network/connection.cpp
parent25dfd1bbf5cfdcf863e3281f87164915bccc4299 (diff)
downloadminetest-c4b5561b3fdf4c2cac401774e7c54856c1546855.tar.gz
minetest-c4b5561b3fdf4c2cac401774e7c54856c1546855.tar.bz2
minetest-c4b5561b3fdf4c2cac401774e7c54856c1546855.zip
Remove unused function from connection.{cpp,h}
Diffstat (limited to 'src/network/connection.cpp')
-rw-r--r--src/network/connection.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/network/connection.cpp b/src/network/connection.cpp
index 93dcf4ca2..7794ce10f 100644
--- a/src/network/connection.cpp
+++ b/src/network/connection.cpp
@@ -2817,16 +2817,6 @@ bool Connection::deletePeer(u16 peer_id, bool timeout)
/* Interface */
-ConnectionEvent Connection::getEvent()
-{
- if (m_event_queue.empty()) {
- ConnectionEvent e;
- e.type = CONNEVENT_NONE;
- return e;
- }
- return m_event_queue.pop_frontNoEx();
-}
-
ConnectionEvent Connection::waitEvent(u32 timeout_ms)
{
try {