summaryrefslogtreecommitdiffstats
path: root/media/libcpustats/ThreadCpuUsage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/libcpustats/ThreadCpuUsage.cpp')
-rw-r--r--media/libcpustats/ThreadCpuUsage.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/media/libcpustats/ThreadCpuUsage.cpp b/media/libcpustats/ThreadCpuUsage.cpp
index cfdcb51..7b5b661 100644
--- a/media/libcpustats/ThreadCpuUsage.cpp
+++ b/media/libcpustats/ThreadCpuUsage.cpp
@@ -74,7 +74,6 @@ bool ThreadCpuUsage::setEnabled(bool isEnabled)
bool ThreadCpuUsage::sampleAndEnable(double& ns)
{
- bool ret;
bool wasEverEnabled = mWasEverEnabled;
if (enable()) {
// already enabled, so add a new sample relative to previous