From 6f6c8ec7b724c088ce087d866d7eadabe95633c3 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 16 Jul 2010 01:11:03 -0700 Subject: [PATCH] glu/sgi: Remove dead initialization in extract565rev. --- src/glu/sgi/libutil/mipmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glu/sgi/libutil/mipmap.c b/src/glu/sgi/libutil/mipmap.c index 52515dfab78..026ab849c1b 100644 --- a/src/glu/sgi/libutil/mipmap.c +++ b/src/glu/sgi/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); -- 2.30.2