git: 4b6228906ff7 - main - libalias: Mark set but unused variables as unused.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Apr 2023 17:43:59 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=4b6228906ff7ec932a12ebfc2fe7fdd9f4e93299 commit 4b6228906ff7ec932a12ebfc2fe7fdd9f4e93299 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-10 17:35:29 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-10 17:35:29 +0000 libalias: Mark set but unused variables as unused. This function is clearly a stub, but it seems better to leave the stub bits in place than to remove the function entirely. Differential Revision: https://reviews.freebsd.org/D39355 --- sys/netinet/libalias/alias_skinny.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/libalias/alias_skinny.c b/sys/netinet/libalias/alias_skinny.c index 70b3a29ddb40..c167891dab09 100644 --- a/sys/netinet/libalias/alias_skinny.c +++ b/sys/netinet/libalias/alias_skinny.c @@ -230,7 +230,7 @@ alias_skinny_startmedia(struct StartMediaTransmission *start_media, struct alias_link *lnk, u_int32_t localIpAddr, ConvDirection direction) { - struct in_addr dst, src; + struct in_addr dst __unused, src __unused; (void)pip; (void)tc;