Merge pull request #295 from dragos-oancea/sofia-msg_parser-val-never-read

[sofia-sip] scan-build: Value stored to 'rest' is never read - msg_extract_payload()
This commit is contained in:
Andrey Volk 2020-02-12 00:37:00 +04:00 committed by GitHub
commit 31f92ddc8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);