The new bgp_mplsvpn_snmp.c code increments i and
never uses that value. Comment the code out
to make the clang SA analyzer happy. Shouldn't
be a problem since this code will never probably
be touched again(ha!).
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
nexthop.ipa_type = IPADDR_V4;
oid2in_addr(&name[i], sizeof(struct in_addr),
&nexthop.ip._v4_addr);
- i += sizeof(struct in_addr);
+ /* i += sizeof(struct in_addr); */
break;
case INETADDRESSTYPEIPV6:
nexthop.ipa_type = IPADDR_V6;
oid2in_addr(&name[i], sizeof(struct in6_addr),
&nexthop.ip._v4_addr); /* sic */
- i += sizeof(struct in6_addr);
+ /* i += sizeof(struct in6_addr); */
break;
}
}