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
/
vibrance.c
diff --git
a/jni/filters/vibrance.c
b/jni/filters/vibrance.c
index
cb5c536
..
feef7bc
100644
(file)
--- a/
jni/filters/vibrance.c
+++ b/
jni/filters/vibrance.c
@@
-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;