From 98dfd0d7cd56f3992d58eb28d953031f2aae9d35 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sat, 9 Jan 2016 05:23:08 +0200 Subject: Snap: Fix jni compiler warnings Change-Id: I091a8928a9a0674c54759ff8b384259d8f16793e --- jni/feature_stab/src/dbreg/dbstabsmooth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jni/feature_stab/src/dbreg') diff --git a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp index dffff8ab1..2bb5d2e50 100644 --- a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp +++ b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp @@ -136,7 +136,7 @@ bool db_StabilizationSmoother::smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize, smoothFactor = minSmoothFactor; // Find the amount of motion that must be compensated so that no "border" pixels are seen in the stable video - for (smoothFactor = smoothFactor; smoothFactor >= minSmoothFactor; smoothFactor -= 0.01) { + for (; smoothFactor >= minSmoothFactor; smoothFactor -= 0.01) { // Compute the smoothed motion if(!smoothMotion(inmot, &tmpMotion, smoothFactor)) break; -- cgit v1.2.3