From d6f7d9d8829c365ad0c270b143348984d862fa4c Mon Sep 17 00:00:00 2001 From: Rin Cat Date: Sun, 2 Aug 2020 05:38:59 -0400 Subject: [PATCH] Fix: initialize the variable 'buf_star' --- include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtw_recv.h b/include/rtw_recv.h index 90abfee..9e6da87 100644 --- a/include/rtw_recv.h +++ b/include/rtw_recv.h @@ -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);