diff --git a/indra/llcommon/llstat.cpp b/indra/llcommon/llstat.cpp index 5bedd97dea5c8181eb5fd2e02a94ee9a2d2b77eb..3678c8e1c1d5564ae463685717696a60a65501fd 100644 --- a/indra/llcommon/llstat.cpp +++ b/indra/llcommon/llstat.cpp @@ -54,8 +54,9 @@ void LLStat::reset() LLStat::LLStat(std::string name, S32 num_bins, BOOL use_frame_timer) : mUseFrameTimer(use_frame_timer), mNumBins(num_bins), - mName(name) - { + mName(name), + mBins(NULL) +{ llassert(mNumBins > 0); mLastTime = 0.f; diff --git a/indra/llcommon/llstat.h b/indra/llcommon/llstat.h index 356bd8aac99056b0b87b376f11c828c852bffbc0..38377a010b9c01ad08f464ba02aa817281648237 100644 --- a/indra/llcommon/llstat.h +++ b/indra/llcommon/llstat.h @@ -40,7 +40,6 @@ class LL_COMMON_API LLStat private: typedef std::multimap<std::string, LLStat*> stat_map_t; - void init(); static stat_map_t& getStatList(); public: