aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBorja Lorente2016-07-31 18:00:36 +0200
committerBorja Lorente2016-08-02 08:33:50 +0200
commit03f2d9b01ed392488269647d557b25f41a86fc84 (patch)
tree0d14dadfb4b4ada69bf761e77daccdf2f816503a /graphics
parente809320f588941693b09881fc25efda80b8cdfb8 (diff)
downloadscummvm-rg350-03f2d9b01ed392488269647d557b25f41a86fc84.tar.gz
scummvm-rg350-03f2d9b01ed392488269647d557b25f41a86fc84.tar.bz2
scummvm-rg350-03f2d9b01ed392488269647d557b25f41a86fc84.zip
GRAPHICS: Remove unused variables
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/macwindow.cpp2
-rw-r--r--graphics/nine_patch.cpp3
2 files changed, 0 insertions, 5 deletions
diff --git a/graphics/macgui/macwindow.cpp b/graphics/macgui/macwindow.cpp
index 1b4ed016eb..dbb600ba82 100644
--- a/graphics/macgui/macwindow.cpp
+++ b/graphics/macgui/macwindow.cpp
@@ -394,12 +394,10 @@ bool MacWindow::isInResizeButton(int x, int y) {
}
WindowClick MacWindow::isInScroll(int x, int y) {
- int bLeft = kBorderWidth;
int bTop = kBorderWidth;
int bRight = kBorderWidth;
int bBottom = kBorderWidth;
if (_macBorder.hasOffsets()) {
- bLeft = _macBorder.getOffset(kBorderOffsetLeft);
bTop = _macBorder.getOffset(kBorderOffsetTop);
bRight = _macBorder.getOffset(kBorderOffsetRight);
bBottom = _macBorder.getOffset(kBorderOffsetBottom);
diff --git a/graphics/nine_patch.cpp b/graphics/nine_patch.cpp
index 331344fd32..f89a0f2df7 100644
--- a/graphics/nine_patch.cpp
+++ b/graphics/nine_patch.cpp
@@ -235,9 +235,6 @@ void NinePatchBitmap::blit(Graphics::Surface &target, int dx, int dy, int dw, in
drawRegions(srf, dx, dy, dw, dh);
- byte black = getColorIndex(TS_RGB(0, 0, 0), palette);
- byte white = getColorIndex(TS_RGB(255, 255, 255), palette);
-
for (uint i = 0; i < srf.w; ++i) {
for (uint j = 0; j < srf.h; ++j) {
uint32 color = *(uint32*)srf.getBasePtr(i, j);