mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
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.
This commit is contained in:
parent
6dd202ce93
commit
c555dcddce
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue