Date: Mon, 29 Apr 2019 18:54:39 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r346906 - stable/12/sys/contrib/libnv Message-ID: <201904291854.x3TIsdcP056020@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Mon Apr 29 18:54:39 2019 New Revision: 346906 URL: https://svnweb.freebsd.org/changeset/base/346906 Log: MFC r346112: 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 r346115: The nvlist_report_missing is also used by the cnvlist. It can't be a static one. Reported by: jenkins Modified: stable/12/sys/contrib/libnv/nvlist.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/contrib/libnv/nvlist.c ============================================================================== --- stable/12/sys/contrib/libnv/nvlist.c Mon Apr 29 18:52:04 2019 (r346905) +++ stable/12/sys/contrib/libnv/nvlist.c Mon Apr 29 18:54:39 2019 (r346906) @@ -1365,7 +1365,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; @@ -1381,7 +1381,7 @@ nvlist_next_nvpair(const nvlist_t *nvl, const 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904291854.x3TIsdcP056020>