[sofia-sip] scan-build: Value stored to 'rest' is never read - msg_extract_payload()

This commit is contained in:
Dragos Oancea 2020-01-31 21:35:30 +00:00
parent 9514aebbaa
commit a550adb0c6
1 changed files with 0 additions and 1 deletions

View File

@ -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);