From f48365067bda6b94200307f81d2ecda82900297a Mon Sep 17 00:00:00 2001 From: Kevin Huck Date: Fri, 5 Jul 2019 10:17:45 -0700 Subject: [PATCH] Fix build error on osx --- src/apex/apex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apex/apex.cpp b/src/apex/apex.cpp index 6804a202..2fa0ec09 100644 --- a/src/apex/apex.cpp +++ b/src/apex/apex.cpp @@ -283,7 +283,9 @@ void apex::_initialize() listeners.push_back(this->m_policy_handler); } } +#if APEX_HAVE_PROC pd_reader = nullptr; +#endif this->resize_state(1); this->set_state(0, APEX_BUSY); }