From f1152276f1f182db8d68e95170ca62fb57418e56 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Thu, 8 Jun 2017 11:50:28 +0100 Subject: [PATCH] Fix for uninitialised bool --- lib/src/upper/rlc_am.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index f044c73c9..b9545375a 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -914,8 +914,9 @@ void rlc_am::handle_control_pdu(uint8_t *payload, uint32_t nof_bytes) { if(!retx_queue_has_sn(i)) { rlc_amd_retx_t retx; - retx.so_start = 0; - retx.so_end = it->second.buf->N_bytes; + retx.is_segment = false; + retx.so_start = 0; + retx.so_end = it->second.buf->N_bytes; if(status.nacks[j].has_so) { if(status.nacks[j].so_start < it->second.buf->N_bytes &&