HomeFreeBSD

route: remove write-only struct hostent from getaddr()

Description

route: remove write-only struct hostent from getaddr()

Under some INET/INET6 src.conf configurations sbin/route previously
failed to build due to an unused variable warning. It was functionally
write-only anyway, so just remove it.

Reported by: melifaro
Reviewed by: melifaro
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33717

Details

Provenance
emasteAuthored on Jan 2 2022, 12:16 AM
Reviewer
melifaro
Differential Revision
D33717: route: remove write-only struct hostent from getaddr()
Parents
rG0197ba465f27: sqlite3: Vendor import of sqlite3 3.37.1
Branches
Unknown
Tags
Unknown