mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 13:01:57 -04:00
Code: Fix stream buffer warning (#335)
This commit is contained in:
parent
736f2302ae
commit
a1b918c1aa
|
@ -1206,7 +1206,6 @@ static size_t prvReadBytesFromBuffer( StreamBuffer_t * pxStreamBuffer,
|
|||
if( xCount > xFirstLength )
|
||||
{
|
||||
/* ...then read the remaining bytes from the start of the buffer. */
|
||||
configASSERT( xCount <= xCount );
|
||||
( void ) memcpy( ( void * ) &( pucData[ xFirstLength ] ), ( void * ) ( pxStreamBuffer->pucBuffer ), xCount - xFirstLength ); /*lint !e9087 memcpy() requires void *. */
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue