aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kostin <7er@inbox.ru>2019-08-06 11:45:26 +0300
committerSergey Kostin <7er@inbox.ru>2019-08-06 11:45:26 +0300
commit5faeac6ee28b86ee1ff72580e4995db92bfff710 (patch)
treef7e45e109ce4de0a5cb76a3338164cc49e0a8ec8 /src
parent0eaf9429c99ea1050405860323238254f675c524 (diff)
downloadtraccar-server-5faeac6ee28b86ee1ff72580e4995db92bfff710.tar.gz
traccar-server-5faeac6ee28b86ee1ff72580e4995db92bfff710.tar.bz2
traccar-server-5faeac6ee28b86ee1ff72580e4995db92bfff710.zip
code review edits
Diffstat (limited to 'src')
-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);