Skip to content

Commit 2fcbcf1

Browse files
authored
Initialized return value of numaker_emac link-out
1 parent 7ea02d9 commit 2fcbcf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/numaker_emac.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void NUMAKER_EMAC::packet_rx()
220220
*/
221221
bool NUMAKER_EMAC::link_out(emac_mem_buf_t *buf)
222222
{
223-
bool result;
223+
bool result = false;
224224
emac_mem_buf_t *q;
225225
uint8_t *buffer = NULL;
226226
uint32_t framelength = 0;

0 commit comments

Comments
 (0)