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
This commit is contained in:
Jacob Erlbeck 2015-06-11 12:59:01 +02:00
parent 7bf9f49728
commit 25db7c6116
1 changed files with 2 additions and 1 deletions

View File

@ -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);