/usr/src/sys/netlink/route/iface.c:738:1: warning: unused function
- Reply: Alexander Chernikov : "Re: /usr/src/sys/netlink/route/iface.c:738:1: warning: unused function" {{#reference}}
- In reply to: {{ref.name}}: "{{ref.subject}}"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Apr 2023 19:21:08 UTC
This isn't a fatal error, but it would be easy to fix: /usr/src/sys/netlink/route/iface.c:738:1: warning: unused function 'inet6_get_plen' [-Wunused-function] inet6_get_plen(const struct in6_addr *addr) ^ 1 warning generated. This function is called in get_sa_plen(const struct sockaddr *sa) and the call is done inside #ifdef INET6...#endif, whereas the implementation is NOT inside #ifdef INET6...#endif, as it should be. I do not have INET6 in my kernel config file. -- Gary Jennejohn