summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 20:48:24 -0800
committerMark Salyzyn <salyzyn@google.com>2014-11-25 15:02:50 +0000
commit53eae5433f71573f135f0a92375d0e63f7dff022 (patch)
treef2a487bd50f4175b80218ec566e58a6486ba03cd /media
parente1b737ca1eee2c5e80c2dae4fe60e852a160aa0b (diff)
downloadframeworks_av-53eae5433f71573f135f0a92375d0e63f7dff022.zip
frameworks_av-53eae5433f71573f135f0a92375d0e63f7dff022.tar.gz
frameworks_av-53eae5433f71573f135f0a92375d0e63f7dff022.tar.bz2
Libcpustats: Remove unused variable
For build-system CFLAGS clean-up, fix unused variable. Change-Id: I6aba5f011d47271fae0ac5eca1d35a398dd56856
Diffstat (limited to 'media')
-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