OSDN Git Service
(root)
/
android-x86
/
packages-apps-Gallery2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix warnings and set Werror flag to not let them happen again.
[android-x86/packages-apps-Gallery2.git]
/
jni
/
filters
/
saturated.c
diff --git
a/jni/filters/saturated.c
b/jni/filters/saturated.c
index
1bc0cc5
..
f5cf767
100644
(file)
--- a/
jni/filters/saturated.c
+++ b/
jni/filters/saturated.c
@@
-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;