OSDN Git Service

Fix warnings and set Werror flag to not let them happen again.
[android-x86/packages-apps-Gallery2.git] / jni / filters / vibrance.c
index cb5c536..feef7bc 100644 (file)
@@ -45,7 +45,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;