mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-15 04:42:06 +00:00
miracle-wfdctl: fix return uninitialized variable value issue
This commit is contained in:
parent
34cc56dba8
commit
21986b4cea
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ static int wfd_session_handle_reply(struct rtsp *bus,
|
|||
enum rtsp_message_id next_request = RTSP_M_UNKNOWN;
|
||||
|
||||
if(!m) {
|
||||
r = 0;
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue