glu/sgi: Remove dead initialization in extract565rev.
authorVinson Lee <vlee@vmware.com>
Fri, 16 Jul 2010 08:11:03 +0000 (01:11 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 16 Jul 2010 08:11:03 +0000 (01:11 -0700)
src/glu/sgi/libutil/mipmap.c

index 52515dfab7888777a3661aa6ea87d8d997762b18..026ab849c1b82e14df8ca6bab9bf73293a3fa0da 100644 (file)
@@ -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);