From 5e9c7f5b373800d57768a78a3975c4fecdbc75f7 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 29 Mar 2012 05:31:18 +0000 Subject: [PATCH] Removed set but not used variable 'satLevels' from tr_font.c. --- code/renderer/tr_font.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/renderer/tr_font.c b/code/renderer/tr_font.c index e1eb4868..3e5a87e7 100644 --- a/code/renderer/tr_font.c +++ b/code/renderer/tr_font.c @@ -338,7 +338,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { #ifdef BUILD_FREETYPE FT_Face face; int j, k, xOut, yOut, lastStart, imageNumber; - int scaledSize, newSize, maxHeight, left, satLevels; + int scaledSize, newSize, maxHeight, left; unsigned char *out, *imageBuff; glyphInfo_t *glyph; image_t *image; @@ -476,7 +476,6 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { imageBuff = ri.Malloc(newSize); left = 0; max = 0; - satLevels = 255; for ( k = 0; k < (scaledSize) ; k++ ) { if (max < out[k]) { max = out[k];