Skip to content

Commit a1b918c

Browse files
authored
Code: Fix stream buffer warning (#335)
1 parent 736f230 commit a1b918c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stream_buffer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,6 @@ static size_t prvReadBytesFromBuffer( StreamBuffer_t * pxStreamBuffer,
12061206
if( xCount > xFirstLength )
12071207
{
12081208
/* ...then read the remaining bytes from the start of the buffer. */
1209-
configASSERT( xCount <= xCount );
12101209
( void ) memcpy( ( void * ) &( pucData[ xFirstLength ] ), ( void * ) ( pxStreamBuffer->pucBuffer ), xCount - xFirstLength ); /*lint !e9087 memcpy() requires void *. */
12111210
}
12121211
else

0 commit comments

Comments
 (0)