Mesa (master): mesa: remove unused-but-set variable in extract_uint_rgba
Marek Olšák
mareko at kemper.freedesktop.org
Sun May 1 12:08:57 UTC 2011
Module: Mesa
Branch: master
Commit: f507530d25c04e62268ae562f5a3ef32caefabae
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f507530d25c04e62268ae562f5a3ef32caefabae
Author: Marek Olšák <maraeo at gmail.com>
Date: Sun May 1 13:33:38 2011 +0200
mesa: remove unused-but-set variable in extract_uint_rgba
---
src/mesa/main/pack.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c
index d0b8a4f..d6470e3 100644
--- a/src/mesa/main/pack.c
+++ b/src/mesa/main/pack.c
@@ -2932,7 +2932,6 @@ extract_uint_rgba(GLuint n, GLuint rgba[][4],
GLint rSrc, gSrc, bSrc, aSrc;
GLint stride;
GLint rDst, bDst, gDst, aDst;
- GLboolean intFormat;
ASSERT(srcFormat == GL_RED ||
srcFormat == GL_GREEN ||
@@ -2989,8 +2988,6 @@ extract_uint_rgba(GLuint n, GLuint rgba[][4],
stride = _mesa_components_in_format(srcFormat);
- intFormat = _mesa_is_integer_format(srcFormat);
-
#define PROCESS(SRC_INDEX, DST_INDEX, DEFAULT, TYPE, CONVERSION) \
if ((SRC_INDEX) < 0) { \
GLuint i; \
More information about the mesa-commit
mailing list