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

Commit cc7e3e26 authored by liyong's avatar liyong
Browse files

VolumeCurve file build fail

Bug: 232287435
Test: #define LOG_NDEBUG 0 and build

Change-Id: I9de696361e13dae4b1421c26bd4048bf19deeba1
parent a85beb47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ float VolumeCurve::volIndexToDb(int indexInUi, int volIndexMin, int volIndexMax)
            volIdx = volIndexMin;
        } else {
            // This would result in a divide-by-zero below
            ALOG_ASSERT(volIndexmin != volIndexMax, "Invalid volume index range & value: 0");
            ALOG_ASSERT(volIndexMin != volIndexMax, "Invalid volume index range & value: 0");
            return NAN;
        }
    } else {