Commit 1403a9bb authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2

sip presence: fix uninitialized class member

Set default value of mutex_nesting_level_ to 0.

Coverity CID # 1291689

Change-Id: Ib794fe5a90679669c837e2ad8064998caae01f42
Tuleap: #909
parent a77d6be3
......@@ -237,7 +237,7 @@ class SIPPresence {
std::list< PresSubClient *> sub_client_list_; /**< Subcribed buddy list.*/
std::recursive_mutex mutex_;
unsigned mutex_nesting_level_;
unsigned mutex_nesting_level_ {0};
pj_caching_pool cp_;
pj_pool_t *pool_;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment