summaryrefslogtreecommitdiff
path: root/src/network/core/packet.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-09 11:03:00 +0000
committersmatz <smatz@openttd.org>2009-10-09 11:03:00 +0000
commiteb72a0095f39b4160be837b4e6b5758f5240efd9 (patch)
tree70f67e84529efde011bbf53eb7b33cd27fd18a19 /src/network/core/packet.h
parentcbc6af2506b84e8c0736073af5f7e6f3719b3500 (diff)
downloadopenttd-eb72a0095f39b4160be837b4e6b5758f5240efd9.tar.xz
(svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless
Diffstat (limited to 'src/network/core/packet.h')
-rw-r--r--src/network/core/packet.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/core/packet.h b/src/network/core/packet.h
index 6b5442e0e..7079b927b 100644
--- a/src/network/core/packet.h
+++ b/src/network/core/packet.h
@@ -72,8 +72,6 @@ public:
void Recv_string(char *buffer, size_t size, bool allow_newlines = false);
};
-Packet *NetworkSend_Init(PacketType type);
-
#endif /* ENABLE_NETWORK */
#endif /* NETWORK_CORE_PACKET_H */