Page MenuHomeFreeBSD

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

Authored by emaste on Jan 2 2022, 12:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 9:30 PM
Unknown Object (File)
Thu, Dec 19, 6:36 PM
Unknown Object (File)
Dec 11 2024, 12:51 PM
Unknown Object (File)
Dec 5 2024, 4:18 PM
Unknown Object (File)
Dec 3 2024, 9:11 PM
Unknown Object (File)
Dec 1 2024, 2:44 PM
Unknown Object (File)
Dec 1 2024, 1:31 PM
Unknown Object (File)
Nov 28 2024, 5:44 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
emaste added reviewers: melifaro, imp, hrs.
emaste added a subscriber: freebsd-net-list.

remove now-unused variable

As @melifaro pointed out to prompt this change hp was passed to three getaddr() calls in newroute(), and was not otherwise used, and getaddr() does not use the passed-in value.

This revision is now accepted and ready to land.Jan 5 2022, 5:03 PM