From fdee7e7c34a85f763aa6c772071391acc910b96c Mon Sep 17 00:00:00 2001
From: Kristof Szabados <Kristof.Szabados@ericsson.com>
Date: Fri, 11 Dec 2020 21:08:40 +0100
Subject: [PATCH] tl was never read

Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com>
---
 core2/Basetype2.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core2/Basetype2.cc b/core2/Basetype2.cc
index bb0401b77..c64223532 100644
--- a/core2/Basetype2.cc
+++ b/core2/Basetype2.cc
@@ -1098,8 +1098,7 @@ int Record_Of_Type::TEXT_decode(const TTCN_Typedescriptor_t& p_td,
         return decoded_length;
       }
     } else if(limit.has_token(ml)){
-      int tl;
-      if((tl=limit.match(buff,ml))==0){
+      if(limit.match(buff,ml)==0){
         //sep_found=FALSE;
         break;
       }
-- 
GitLab