Skip to content

Commit

Permalink
Fix adding NULL checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AniruddhaKanhere committed Mar 22, 2021
1 parent b541382 commit 96df001
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ BaseType_t xNetworkInterfaceOutput( NetworkBufferDescriptor_t * pxDescriptor,
{
BaseType_t xReturn;

__CPROVER_assert( pxDescriptor, "The descriptor cannot be NULL" );
__CPROVER_assert( pxDescriptor->pucEthernetBuffer, "The ethernet buffer cannot be NULL" );
__CPROVER_assert( pxDescriptor != NULL , "The descriptor cannot be NULL" );
__CPROVER_assert( pxDescriptor->pucEthernetBuffer != NULL, "The ethernet buffer cannot be NULL" );

return xReturn;
}
Expand Down

0 comments on commit 96df001

Please sign in to comment.