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. */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"