From 475857ebcfd74d063232cdc4f85244b45367cd02 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 25 Apr 2010 23:14:58 -0300 Subject: [PATCH] Removed unused value in draw_color(). --- src/modules/gfx.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/gfx.cpp b/src/modules/gfx.cpp index 86d662ada..b0cf18e5b 100644 --- a/src/modules/gfx.cpp +++ b/src/modules/gfx.cpp @@ -430,7 +430,6 @@ void draw_color(BITMAP* bmp, const Rect& rc, int imgtype, color_t color) BITMAP* graph; if (type == COLOR_TYPE_INDEX) { - data = color_get_index(color); rectfill(bmp, rc.x, rc.y, rc.x+rc.w-1, rc.y+rc.h-1, get_color_for_allegro(bitmap_color_depth(bmp), color)); return;