Fix: initialize the variable 'buf_star'

This commit is contained in:
Rin Cat 2020-08-02 05:38:59 -04:00
parent b778fb9424
commit d6f7d9d882
No known key found for this signature in database
GPG Key ID: 7E93675C2BDBB222

View File

@ -768,7 +768,7 @@ __inline static union recv_frame *rxmem_to_recvframe(u8 *rxmem)
__inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
{
u8 *buf_star;
u8 *buf_star = NULL;
union recv_frame *precv_frame;
precv_frame = rxmem_to_recvframe((unsigned char *)buf_star);