OSDN Git Service

Fix warnings and set Werror flag to not let them happen again.
[android-x86/packages-apps-Gallery2.git] / jni / filters / saturated.c
index 1bc0cc5..f5cf767 100644 (file)
@@ -36,7 +36,6 @@ void JNIFUNCF(ImageFilterSaturated, nativeApplyFilter, jobject bitmap, jint widt
         int r = destination[RED];
         int g = destination[GREEN];
         int b = destination[BLUE];
-        int t = (r + g) / 2;
         R = r;
         G = g;
         B = b;