summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-13 14:18:56 -0800
committerAndreas Gampe <agampe@google.com>2014-11-13 14:18:56 -0800
commit89fd4f7fa6bd17ce5400979c3b9e5ba0bf7e919e (patch)
tree10ccf0c26abfda1d6cc91fbca91cc0e41784d1aa /services/surfaceflinger/Layer.cpp
parentfecc0bf4f1d8d1939807123d0f01ca1fe377bda4 (diff)
downloadframeworks_native-89fd4f7fa6bd17ce5400979c3b9e5ba0bf7e919e.zip
frameworks_native-89fd4f7fa6bd17ce5400979c3b9e5ba0bf7e919e.tar.gz
frameworks_native-89fd4f7fa6bd17ce5400979c3b9e5ba0bf7e919e.tar.bz2
Frameworks/native: Wall Werror in surfaceflinger
Turn on -Wall -Werror in services/surfaceflinger. Fix warnings. Change-Id: Ifef830300d9d4bc657d8f1257c02bfe8c2b4d9c5
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index fa07656..91e9a02 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -63,7 +63,6 @@ Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client,
mTextureName(-1U),
mPremultipliedAlpha(true),
mName("unnamed"),
- mDebug(false),
mFormat(PIXEL_FORMAT_NONE),
mTransactionFlags(0),
mQueuedFrames(0),
@@ -646,7 +645,6 @@ void Layer::clearWithOpenGL(
void Layer::drawWithOpenGL(const sp<const DisplayDevice>& hw,
const Region& /* clip */, bool useIdentityTransform) const {
- const uint32_t fbHeight = hw->getHeight();
const State& s(getDrawingState());
computeGeometry(hw, mMesh, useIdentityTransform);