aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-07-27 00:16:20 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-07-27 00:16:20 +0200
commitc8faee4eda27022319a25d5959205496ef75414e (patch)
tree6dcfd64d20569f0ab0c9b837c295f82915ccb776 /src
parent9d412dd0754ce9eadf0f6122437d66d1dbfbf35c (diff)
downloadminetest-c8faee4eda27022319a25d5959205496ef75414e.tar.gz
minetest-c8faee4eda27022319a25d5959205496ef75414e.tar.bz2
minetest-c8faee4eda27022319a25d5959205496ef75414e.zip
Remove one unused variable in Server::Receive function
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 32e50c14f..f838ffb55 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1022,7 +1022,6 @@ void Server::AsyncRunStep(bool initial_step)
void Server::Receive()
{
DSTACK(FUNCTION_NAME);
- SharedBuffer<u8> data;
u16 peer_id;
try {
NetworkPacket pkt;