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 8e63eaa..52515df 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);