summaryrefslogtreecommitdiffstats
path: root/jni/filters/vibrance.c
diff options
context:
space:
mode:
Diffstat (limited to 'jni/filters/vibrance.c')
-rw-r--r--jni/filters/vibrance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/filters/vibrance.c b/jni/filters/vibrance.c
index cb5c536e5..43e73db79 100644
--- a/jni/filters/vibrance.c
+++ b/jni/filters/vibrance.c
@@ -19,6 +19,7 @@
void JNIFUNCF(ImageFilterVibrance, nativeApplyFilter, jobject bitmap, jint width, jint height, jfloat vibrance)
{
+ (void)obj;
char* destination = 0;
AndroidBitmap_lockPixels(env, bitmap, (void**) &destination);
int i;
@@ -45,7 +46,6 @@ void JNIFUNCF(ImageFilterVibrance, nativeApplyFilter, jobject bitmap, jint width
Rt = Rf * MS;
Gt = Gf * MS;
Bt = Bf * MS;
- int t = (r + g) / 2;
R = r;
G = g;
B = b;