From 5faeac6ee28b86ee1ff72580e4995db92bfff710 Mon Sep 17 00:00:00 2001 From: Sergey Kostin <7er@inbox.ru> Date: Tue, 6 Aug 2019 11:45:26 +0300 Subject: code review edits --- src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java b/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java index ebfe5f8f3..d6a59ea8d 100644 --- a/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java @@ -130,7 +130,6 @@ public class EgtsProtocolDecoder extends BaseProtocolDecoder { List positions = new LinkedList<>(); short headerLength = buf.getUnsignedByte(buf.readerIndex() + 3); - int frameDataLength = buf.getUnsignedShortLE(buf.readerIndex() + 5); int index = buf.getUnsignedShort(buf.readerIndex() + 5 + 2); short packetType = buf.getUnsignedByte(buf.readerIndex() + 5 + 2 + 2); buf.skipBytes(headerLength); -- cgit v1.2.3