From 844a33933076a8e343de944b6eab26b4166e2f6f Mon Sep 17 00:00:00 2001 From: Simon Pribylski <66266021+Persson-dev@users.noreply.github.com> Date: Thu, 21 Apr 2022 18:05:09 +0200 Subject: Protocol sources fixes (#5411) * Move HANDLE_READ to header * Fix compiler warnings * Removed unnecessary default statement --- src/Protocol/Protocol_1_10.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/Protocol/Protocol_1_10.cpp') diff --git a/src/Protocol/Protocol_1_10.cpp b/src/Protocol/Protocol_1_10.cpp index beca6db24..4f89cf6bd 100644 --- a/src/Protocol/Protocol_1_10.cpp +++ b/src/Protocol/Protocol_1_10.cpp @@ -48,19 +48,6 @@ Implements the 1.10 protocol classes: -#define HANDLE_READ(ByteBuf, Proc, Type, Var) \ - Type Var; \ - do { \ - if (!ByteBuf.Proc(Var))\ - {\ - return;\ - } \ - } while (false) - - - - - // The disabled error is intended, since the Metadata have overlapping indexes // based on the type of the Entity. // -- cgit v1.2.3