Fix: variables uninitialized

This commit is contained in:
Rin Cat (鈴猫)
2021-12-04 08:44:06 -05:00
parent f3f32eb5f7
commit 16223935bb
3 changed files with 4 additions and 4 deletions

View File

@@ -812,7 +812,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);