Merge "Suppress clang-analyzer-security.FloatLoopCounter warnings" am: 286f46824a am: ac65bd4336 am: cb430dbf4e Original change: https://android-review.googlesource.com/c/platform/packages/apps/LegacyCamera/+/2384983 Change-Id: I44b8efc6d86a7ac3006ef87b0d3ab6b6686fdd32 Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp index dffff8a..d2e7a28 100644 --- a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp +++ b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp
@@ -136,6 +136,8 @@ smoothFactor = minSmoothFactor; // Find the amount of motion that must be compensated so that no "border" pixels are seen in the stable video + // FixLater: avoid floating point loop counters + // NOLINTNEXTLINE(clang-analyzer-security.FloatLoopCounter,cert-flp30-c) for (smoothFactor = smoothFactor; smoothFactor >= minSmoothFactor; smoothFactor -= 0.01) { // Compute the smoothed motion if(!smoothMotion(inmot, &tmpMotion, smoothFactor))