mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984071 - Part 2: Fix Linux warnings about unused LoadManager member variables. r=gcp
This commit is contained in:
parent
b1418ba5ff
commit
6f6a1f3d8c
@ -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),
|
||||
|
@ -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.
|
||||
|
@ -53,7 +53,6 @@ private:
|
||||
mozilla::CondVar mCondVar;
|
||||
bool mShutdownPending;
|
||||
nsCOMPtr<nsIThread> mLoadInfoThread;
|
||||
uint64_t mTicksPerInterval;
|
||||
float mSystemLoad;
|
||||
float mProcessLoad;
|
||||
LoadNotificationCallback* mLoadNotificationCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user