git: a34efd08d983 - main - libpfct: remove incorrect __unused annotation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 May 2025 13:10:38 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=a34efd08d9833685495f3b44e0bffda6e41421f6 commit a34efd08d9833685495f3b44e0bffda6e41421f6 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-05-06 10:07:55 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-05-08 13:10:24 +0000 libpfct: remove incorrect __unused annotation Sponsored by: Rubicon Communications, LLC ("Netgate") --- lib/libpfctl/libpfctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c index d84a66063647..e607cc78e613 100644 --- a/lib/libpfctl/libpfctl.c +++ b/lib/libpfctl/libpfctl.c @@ -396,7 +396,7 @@ SNL_DECLARE_PARSER(getstatus_parser, struct genlmsghdr, snl_f_p_empty, ap_getsta #undef _OUT struct pfctl_status * -pfctl_get_status_h(struct pfctl_handle *h __unused) +pfctl_get_status_h(struct pfctl_handle *h) { struct pfctl_status *status; struct snl_errmsg_data e = {};