Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53eae543 authored by Andreas Gampe's avatar Andreas Gampe Committed by Mark Salyzyn
Browse files

Libcpustats: Remove unused variable

For build-system CFLAGS clean-up, fix unused variable.

Change-Id: I6aba5f011d47271fae0ac5eca1d35a398dd56856
parent e1b737ca
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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