Initialized return value of numaker_emac link-out

pull/7565/head
cyliangtw 2018-07-31 12:01:43 +08:00 committed by GitHub
parent 7ea02d95a3
commit 2fcbcf1789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ void NUMAKER_EMAC::packet_rx()
*/
bool NUMAKER_EMAC::link_out(emac_mem_buf_t *buf)
{
bool result;
bool result = false;
emac_mem_buf_t *q;
uint8_t *buffer = NULL;
uint32_t framelength = 0;