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

Commit c0d931d3 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Automerger Merge Worker
Browse files

Merge "Suppress clang-analyzer-security.FloatLoopCounter warnings" am: 4c3b71ee

parents 10aacf48 4c3b71ee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -284,6 +284,8 @@ TEST(storaged_test, disk_stats_monitor) {
    dsm_detect.update_mean();
    dsm_detect.update_std();

    // FixLater: avoid floating point loop counters
    // NOLINTNEXTLINE(clang-analyzer-security.FloatLoopCounter,cert-flp30-c)
    for (double i = 0; i < 2 * dsm_detect.mSigma; i += 0.5) {
        struct disk_perf test_perf;
        struct disk_perf test_mean = dsm_detect.mMean;