Commit 542bd49c 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 a7585c3f
...@@ -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