aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-05-27 17:49:27 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-05-27 17:49:27 +0000
commitae266f9f94355275b81fb10e9335c64c0cb03032 (patch)
tree919c3c3aed745abdc78e328a05e297d782f25f13 /usr.sbin
parenta5efdbd0c964fa3eee1e9ecdbc210a760ebdebba (diff)
downloadsrc-ae266f9f94355275b81fb10e9335c64c0cb03032.tar.gz
src-ae266f9f94355275b81fb10e9335c64c0cb03032.zip
pmcstat: suppress uninitialized warning of event
Notes
Notes: svn path=/head/; revision=334256
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pmcstat/pmcstat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index 45b272b60b59..4565aac5d668 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -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. */