The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c555dcddceec0c27242f9159755a43959853dc2f

commit c555dcddceec0c27242f9159755a43959853dc2f
Author:     John Baldwin <[email protected]>
AuthorDate: 2023-06-20 16:29:00 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2023-06-20 16:29:00 +0000

    libalias tests: Mark an unused variable with __unused.
    
    It is not trivial to remove this set but unused variable since it
    assigned to inside of a macro body, so just mark it with __unused
    instead.
---
 tests/sys/netinet/libalias/2_natout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/netinet/libalias/2_natout.c 
b/tests/sys/netinet/libalias/2_natout.c
index 4dfffdc055e2..c6f5797b2db7 100644
--- a/tests/sys/netinet/libalias/2_natout.c
+++ b/tests/sys/netinet/libalias/2_natout.c
@@ -202,7 +202,7 @@ ATF_TC_BODY(6_cleartable, dummy)
 {
        struct libalias *la = LibAliasInit(NULL);
        struct ip  *po, *pi;
-       struct udphdr *ui, *uo;
+       struct udphdr *ui __unused, *uo;
        uint16_t sport = 0x1234;
        uint16_t dport = 0x5678;
        uint16_t aport;

Reply via email to