glu/sgi: Remove dead initialization in extract565rev.
[mesa.git] / 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);