mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 08:45:04 +08:00
Fix a new warning found in build tesing.
This commit is contained in:
@@ -124,7 +124,9 @@ static int netprocfs_radio_linklayer(FAR struct netprocfs_file_s *netfile,
|
||||
{
|
||||
FAR struct netdev_varaddr_s *addr;
|
||||
FAR struct net_driver_s *dev;
|
||||
#if RADIO_MAX_ADDRLEN > 1
|
||||
int i;
|
||||
#endif
|
||||
|
||||
DEBUGASSERT(netfile != NULL && netfile->dev != NULL);
|
||||
dev = netfile->dev;
|
||||
|
||||
Reference in New Issue
Block a user