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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346112
@ -324,7 +324,7 @@ nvlist_set_flags(nvlist_t *nvl, int flags)
|
|||||||
nvl->nvl_flags = flags;
|
nvl->nvl_flags = flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
nvlist_report_missing(int type, const char *name)
|
nvlist_report_missing(int type, const char *name)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -1374,7 +1374,7 @@ nvlist_first_nvpair(const nvlist_t *nvl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
nvpair_t *
|
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;
|
nvpair_t *retnvp;
|
||||||
|
|
||||||
@ -1390,7 +1390,7 @@ nvlist_next_nvpair(const nvlist_t *nvl, const nvpair_t *nvp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
nvpair_t *
|
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;
|
nvpair_t *retnvp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user