svn commit: r334256 - head/usr.sbin/pmcstat
Matt Macy
mmacy at FreeBSD.org
Sun May 27 17:49:28 UTC 2018
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. */
More information about the svn-src-head
mailing list