mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
netutils/netlib: Eliminate a warning
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user