aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/Tlt2hProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
index 60f624dd6..531ae28b6 100644
--- a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
@@ -60,7 +60,7 @@ public class Tlt2hProtocolDecoder extends BaseProtocolDecoder {
// Get device identifier
String imei = sentence.substring(1, sentence.indexOf('#', 1));
- long deviceId = 0;
+ long deviceId;
try {
deviceId = getDataManager().getDeviceByImei(imei).getId();
} catch(Exception error) {