glu/sgi: Remove dead initialization in extract565.
authorVinson Lee <vlee@vmware.com>
Thu, 15 Jul 2010 08:42:02 +0000 (01:42 -0700)
committerVinson Lee <vlee@vmware.com>
Thu, 15 Jul 2010 08:42:02 +0000 (01:42 -0700)
src/glu/sgi/libutil/mipmap.c

index 8e63eaaad77e1a9aee02899257f06b724b14b1fc..52515dfab7888777a3661aa6ea87d8d997762b18 100644 (file)
@@ -5552,7 +5552,7 @@ static void shove233rev(const GLfloat shoveComponents[],
 static void extract565(int isSwap,
                       const void *packedPixel, GLfloat extractComponents[])
 {
-   GLushort ushort= *(const GLushort *)packedPixel;
+   GLushort ushort;
 
    if (isSwap) {
      ushort= __GLU_SWAP_2_BYTES(packedPixel);