Fix a new warning found in build tesing.

This commit is contained in:
Gregory Nutt
2018-12-01 17:27:32 -06:00
parent f179e36934
commit cacbe062ad
+2
View File
@@ -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;