From: Vinson Lee Date: Fri, 16 Jul 2010 08:11:03 +0000 (-0700) Subject: glu/sgi: Remove dead initialization in extract565rev. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f6c8ec7b724c088ce087d866d7eadabe95633c3;p=mesa.git glu/sgi: Remove dead initialization in extract565rev. --- 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);