summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2017-12-04 14:11:31 -0800
committer Yi Kong <yikong@google.com> 2017-12-04 14:13:06 -0800
commit92543573ed40d5a3d96de10050f70084aaffc85b (patch)
tree8483f73ecd0e567991b34d5d6a95fe5ccafb6185
parent2463d6b8bc6ba57787919ede781906c1a489d13f (diff)
Remove unused variable
Discovered by the upcoming compiler update. Test: build Change-Id: I268ac69b976e76b785b124d0634d1410dd5498b7
-rw-r--r--services/surfaceflinger/Effects/Daltonizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/surfaceflinger/Effects/Daltonizer.cpp b/services/surfaceflinger/Effects/Daltonizer.cpp
index c953c68dd4..01c9c0fc68 100644
--- a/services/surfaceflinger/Effects/Daltonizer.cpp
+++ b/services/surfaceflinger/Effects/Daltonizer.cpp
@@ -133,8 +133,6 @@ void Daltonizer::update() {
0.7, 0.7, 1.0, 0,
0, 0, 0, 1);
- const mat4 identity;
-
// And the magic happens here...
// We construct the matrix that will perform the whole correction.