mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-03 20:27:58 +00:00
netutils/netlib: Eliminate a warning
This commit is contained in:
parent
0c34ebb72f
commit
ea95f710db
1 changed files with 2 additions and 1 deletions
|
|
@ -145,7 +145,8 @@ bool netlib_nodeaddrconv(FAR const char *addrstr,
|
|||
{
|
||||
/* Get the next byte in binary form */
|
||||
|
||||
ret = get_byte(addrstr, &byte);
|
||||
byte = 0; /* Eliminates a warning */
|
||||
ret = get_byte(addrstr, &byte);
|
||||
if (ret < 0)
|
||||
{
|
||||
wlwarn("get_byte failed: %s\n", addrstr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue