Bug 984071 - Part 2: Fix Linux warnings about unused LoadManager member variables. r=gcp

This commit is contained in:
Chris Peterson 2014-04-07 17:36:41 -07:00
parent b1418ba5ff
commit 6f6a1f3d8c
3 changed files with 1 additions and 4 deletions

View File

@ -34,8 +34,7 @@ LoadManager::LoadManager(int aLoadMeasurementInterval,
int aAveragingMeasurements,
float aHighLoadThreshold,
float aLowLoadThreshold)
: mLastSystemLoad(0),
mLoadSum(0.0f),
: mLoadSum(0.0f),
mLoadSumMeasurements(0),
mOveruseActive(false),
mLoadMeasurementInterval(aLoadMeasurementInterval),

View File

@ -42,7 +42,6 @@ private:
void LoadHasChanged();
nsRefPtr<LoadMonitor> mLoadMonitor;
float mLastSystemLoad;
float mLoadSum;
int mLoadSumMeasurements;
// Set when overuse was signaled to us, and hasn't been un-signaled yet.

View File

@ -53,7 +53,6 @@ private:
mozilla::CondVar mCondVar;
bool mShutdownPending;
nsCOMPtr<nsIThread> mLoadInfoThread;
uint64_t mTicksPerInterval;
float mSystemLoad;
float mProcessLoad;
LoadNotificationCallback* mLoadNotificationCallback;