Bug 978700: Remove unused variables in widget/, r=roc

This commit is contained in:
Thomas Zimmermann 2014-03-04 09:45:50 +01:00
Родитель 2e3329d020
Коммит b746f89257
2 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -110,7 +110,6 @@ Open()
// that's double buffered with r5g6b5 format. Hence the
// hard-coded numbers here.
gfxImageFormat format = gfxImageFormat::RGB16_565;
int bytesPerPixel = gfxASurface::BytePerPixelFromFormat(format);
if (!sScreenSize) {
sScreenSize = new gfxIntSize(sVi.xres, sVi.yres);
}

Просмотреть файл

@ -246,7 +246,6 @@ int GonkNativeWindowClient::cancelBuffer(android_native_buffer_t* buffer,
int GonkNativeWindowClient::getSlotFromBufferLocked(
android_native_buffer_t* buffer) const {
bool dumpedState = false;
for (int i = 0; i < NUM_BUFFER_SLOTS; i++) {
if (mSlots[i].buffer != NULL &&
mSlots[i].buffer->handle == buffer->handle) {