mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
[sofia-sip] scan-build: Value stored to 'rest' is never read - msg_extract_payload()
This commit is contained in:
parent
9514aebbaa
commit
a550adb0c6
@ -1384,7 +1384,6 @@ issize_t msg_extract_payload(msg_t *msg, msg_pub_t *mo,
|
||||
usize_t current, rest;
|
||||
|
||||
current = msg->m_buffer->mb_size - msg->m_buffer->mb_used;
|
||||
rest = body_len - current;
|
||||
|
||||
/* Use all the data from our current buffer */
|
||||
msg_buf_used(msg, current);
|
||||
|
Loading…
x
Reference in New Issue
Block a user