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, Dec 5, 4:18 PM
Unknown Object (File)
Tue, Dec 3, 9:11 PM
Unknown Object (File)
Sun, Dec 1, 2:44 PM
Unknown Object (File)
Sun, Dec 1, 1:31 PM
Unknown Object (File)
Thu, Nov 28, 5:44 PM
Unknown Object (File)
Nov 7 2024, 10:51 AM
Unknown Object (File)
Oct 30 2024, 6:44 PM
Unknown Object (File)
Oct 16 2024, 10:33 AM
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