diff options
author | Sergey Kostin <7er@inbox.ru> | 2019-08-06 11:45:26 +0300 |
---|---|---|
committer | Sergey Kostin <7er@inbox.ru> | 2019-08-06 11:45:26 +0300 |
commit | 5faeac6ee28b86ee1ff72580e4995db92bfff710 (patch) | |
tree | f7e45e109ce4de0a5cb76a3338164cc49e0a8ec8 /src/main/java | |
parent | 0eaf9429c99ea1050405860323238254f675c524 (diff) | |
download | traccar-server-5faeac6ee28b86ee1ff72580e4995db92bfff710.tar.gz traccar-server-5faeac6ee28b86ee1ff72580e4995db92bfff710.tar.bz2 traccar-server-5faeac6ee28b86ee1ff72580e4995db92bfff710.zip |
code review edits
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java | 1 |
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); |