Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2018 18:25:44 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335380 - head/sys/contrib/libnv
Message-ID:  <201806191825.w5JIPiRB042111@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu (ports committer)
Date: Tue Jun 19 18:25:43 2018
New Revision: 335380
URL: https://svnweb.freebsd.org/changeset/base/335380

Log:
  style(9) fix, I was also going to silence gcc.
  
  Approved by:	emaste, oshogbo
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/contrib/libnv/nvpair.c

Modified: head/sys/contrib/libnv/nvpair.c
==============================================================================
--- head/sys/contrib/libnv/nvpair.c	Tue Jun 19 18:09:15 2018	(r335379)
+++ head/sys/contrib/libnv/nvpair.c	Tue Jun 19 18:25:43 2018	(r335380)
@@ -1997,6 +1997,7 @@ nvpair_append_nvlist_array(nvpair_t *nvp, const nvlist
 	nvlist_set_flags(nvl, flags);
 
 	tmpnvp = NULL;
+	prev = NULL;
 	if (nvp->nvp_nitems > 0) {
 		nvlist_t **nvls = (void *)(uintptr_t)nvp->nvp_data;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806191825.w5JIPiRB042111>