libnv: fix compilation warnings
When building libnv without a debug those arguments are no longer used because assertions will be changed to NOP. Submitted by: Mindaugas Rasiukevicius <rmind@netbsd.org> MFC after: 2 weeks
This commit is contained in:
parent
74504eefa1
commit
dab2264290
@ -324,7 +324,7 @@ nvlist_set_flags(nvlist_t *nvl, int flags)
|
||||
nvl->nvl_flags = flags;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
nvlist_report_missing(int type, const char *name)
|
||||
{
|
||||
|
||||
@ -1374,7 +1374,7 @@ nvlist_first_nvpair(const nvlist_t *nvl)
|
||||
}
|
||||
|
||||
nvpair_t *
|
||||
nvlist_next_nvpair(const nvlist_t *nvl, const nvpair_t *nvp)
|
||||
nvlist_next_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp)
|
||||
{
|
||||
nvpair_t *retnvp;
|
||||
|
||||
@ -1390,7 +1390,7 @@ nvlist_next_nvpair(const nvlist_t *nvl, const nvpair_t *nvp)
|
||||
}
|
||||
|
||||
nvpair_t *
|
||||
nvlist_prev_nvpair(const nvlist_t *nvl, const nvpair_t *nvp)
|
||||
nvlist_prev_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp)
|
||||
{
|
||||
nvpair_t *retnvp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user