aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-11 12:59:01 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-11 13:13:55 +0200
commit25db7c6116d11a91697e439fcbc21eb824beace4 (patch)
tree9e8c020835a73c38b426ab294606d5abf9d04150
parent7bf9f49728a306976b1974a52a9039807b0a2979 (diff)
ms: Add missing initialiser for m_delay (Coverity)
Set m_delay to 0 in the constructor to disable the timer feature by default. Fixes: Coverity CID 1304682 Sponsored-by: On-Waves ehf
-rw-r--r--src/gprs_ms.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs_ms.cpp b/src/gprs_ms.cpp
index adb6ff5..afbd7b7 100644
--- a/src/gprs_ms.cpp
+++ b/src/gprs_ms.cpp
@@ -89,7 +89,8 @@ GprsMs::GprsMs(BTS *bts, uint32_t tlli) :
m_current_cs_dl(1),
m_is_idle(true),
m_ref(0),
- m_list(this)
+ m_list(this),
+ m_delay(0)
{
LOGP(DRLCMAC, LOGL_INFO, "Creating MS object, TLLI = 0x%08x\n", tlli);