From 3b56683b996ff23567c4efc8996a6d9ba71e922f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 16 Jul 2010 01:11:03 -0700 Subject: glu/sgi: Remove dead initialization in extract565rev. --- src/libutil/mipmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/mipmap.c b/src/libutil/mipmap.c index 52515df..026ab84 100644 --- a/src/libutil/mipmap.c +++ b/src/libutil/mipmap.c @@ -5593,7 +5593,7 @@ static void shove565(const GLfloat shoveComponents[], static void extract565rev(int isSwap, const void *packedPixel, GLfloat extractComponents[]) { - GLushort ushort= *(const GLushort *)packedPixel; + GLushort ushort; if (isSwap) { ushort= __GLU_SWAP_2_BYTES(packedPixel); -- cgit v1.2.1