Fix some warnings found in build testing.

This commit is contained in:
Gregory Nutt
2018-12-30 16:05:28 -06:00
parent 920bb9dec8
commit c4dfb76b0d
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -423,7 +423,6 @@ static void uncompress_addr(FAR const struct netdev_varaddr_s *addr,
FAR net_ipv6addr_t ipaddr)
{
FAR const uint8_t *srcptr;
bool fullmac = false;
bool usemac = (prefpost & UNCOMPRESS_MACBASED) != 0;
uint8_t prefcount = UNCOMPRESS_PREFLEN(prefpost);
uint8_t postcount = UNCOMPRESS_POSTLEN(prefpost);