Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2018 17:49:27 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334256 - head/usr.sbin/pmcstat
Message-ID:  <201805271749.w4RHnRRh037411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Sun May 27 17:49:27 2018
New Revision: 334256
URL: https://svnweb.freebsd.org/changeset/base/334256

Log:
  pmcstat: suppress uninitialized warning of event

Modified:
  head/usr.sbin/pmcstat/pmcstat.c

Modified: head/usr.sbin/pmcstat/pmcstat.c
==============================================================================
--- head/usr.sbin/pmcstat/pmcstat.c	Sun May 27 12:06:03 2018	(r334255)
+++ head/usr.sbin/pmcstat/pmcstat.c	Sun May 27 17:49:27 2018	(r334256)
@@ -487,6 +487,7 @@ main(int argc, char **argv)
 	bzero(&ds_start, sizeof(ds_start));
 	bzero(&ds_end, sizeof(ds_end));
 	ev = NULL;
+	event = NULL;
 	CPU_ZERO(&cpumask);
 
 	/* Default to using the running system kernel. */



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