capsicum: annotate variable only used by debug
This commit is contained in:
parent
3adccf38e3
commit
d1230b1159
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333854
@ -108,7 +108,7 @@ static void
|
|||||||
cap_rights_vset(cap_rights_t *rights, va_list ap)
|
cap_rights_vset(cap_rights_t *rights, va_list ap)
|
||||||
{
|
{
|
||||||
uint64_t right;
|
uint64_t right;
|
||||||
int i, n;
|
int i, n __unused;
|
||||||
|
|
||||||
assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00);
|
assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00);
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ static void
|
|||||||
cap_rights_vclear(cap_rights_t *rights, va_list ap)
|
cap_rights_vclear(cap_rights_t *rights, va_list ap)
|
||||||
{
|
{
|
||||||
uint64_t right;
|
uint64_t right;
|
||||||
int i, n;
|
int i, n __unused;
|
||||||
|
|
||||||
assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00);
|
assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00);
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ static bool
|
|||||||
cap_rights_is_vset(const cap_rights_t *rights, va_list ap)
|
cap_rights_is_vset(const cap_rights_t *rights, va_list ap)
|
||||||
{
|
{
|
||||||
uint64_t right;
|
uint64_t right;
|
||||||
int i, n;
|
int i, n __unused;
|
||||||
|
|
||||||
assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00);
|
assert(CAPVER(rights) == CAP_RIGHTS_VERSION_00);
|
||||||
|
|
||||||
@ -194,7 +194,7 @@ __cap_rights_sysinit(void *arg)
|
|||||||
cap_rights_t *
|
cap_rights_t *
|
||||||
__cap_rights_init(int version, cap_rights_t *rights, ...)
|
__cap_rights_init(int version, cap_rights_t *rights, ...)
|
||||||
{
|
{
|
||||||
unsigned int n;
|
unsigned int n __unused;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
assert(version == CAP_RIGHTS_VERSION_00);
|
assert(version == CAP_RIGHTS_VERSION_00);
|
||||||
|
Loading…
Reference in New Issue
Block a user