diff options
author | Andreas Gampe <agampe@google.com> | 2014-12-05 20:50:34 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-12-05 20:52:16 -0800 |
commit | ff78750c6432f3b73c97cac05728c5d165ba0f27 (patch) | |
tree | 088f07747f56f825c6679f3eb53f6d7e37b4d169 /libs/ui | |
parent | e1a2caeb2c75840b092081e28d988342ee958c34 (diff) | |
download | frameworks_native-ff78750c6432f3b73c97cac05728c5d165ba0f27.zip frameworks_native-ff78750c6432f3b73c97cac05728c5d165ba0f27.tar.gz frameworks_native-ff78750c6432f3b73c97cac05728c5d165ba0f27.tar.bz2 |
Libui: Remove unused variables
For build-system CFLAGS clean-up, remove unused variables.
Bug: 18632512
Change-Id: Ib78912ae442ddc6410960ab1efb4fb2faa1a9208
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/FramebufferNativeWindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ui/FramebufferNativeWindow.cpp b/libs/ui/FramebufferNativeWindow.cpp index 30f2ae2..3ead25c 100644 --- a/libs/ui/FramebufferNativeWindow.cpp +++ b/libs/ui/FramebufferNativeWindow.cpp @@ -78,7 +78,6 @@ FramebufferNativeWindow::FramebufferNativeWindow() { hw_module_t const* module; if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module) == 0) { - int stride; int err; int i; err = framebuffer_open(module, &fbDev); @@ -239,7 +238,6 @@ int FramebufferNativeWindow::dequeueBuffer(ANativeWindow* window, { FramebufferNativeWindow* self = getSelf(window); Mutex::Autolock _l(self->mutex); - framebuffer_device_t* fb = self->fbDev; int index = self->mBufferHead++; if (self->mBufferHead >= self->mNumBuffers) @@ -284,7 +282,6 @@ int FramebufferNativeWindow::queueBuffer(ANativeWindow* window, sp<Fence> fence(new Fence(fenceFd)); fence->wait(Fence::TIMEOUT_NEVER); - const int index = self->mCurrentBufferIndex; int res = fb->post(fb, handle); self->front = static_cast<NativeBuffer*>(buffer); self->mNumFreeBuffers++; |