Commit 9b168500 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 300425 (Using uninitialized value req_msg when calling...

Fix Coverity Scan CID 300425 (Using uninitialized value req_msg when calling flexran_agent_stats_request.)
parent 25ff2b7c
...@@ -746,7 +746,7 @@ err_code_t flexran_agent_enable_cont_stats_update(mid_t mod_id, ...@@ -746,7 +746,7 @@ err_code_t flexran_agent_enable_cont_stats_update(mid_t mod_id,
goto error; goto error;
} }
Protocol__FlexranMessage *req_msg; Protocol__FlexranMessage *req_msg = NULL;
flexran_agent_stats_request(mod_id, xid, stats_req, &req_msg); flexran_agent_stats_request(mod_id, xid, stats_req, &req_msg);
stats_context[mod_id].stats_req = req_msg; stats_context[mod_id].stats_req = req_msg;
......
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