aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java1
1 files changed, 0 insertions, 1 deletions
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<Position> 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);